From 3c4309efccd5375c0702ac5e3406a79f0f626f62 Mon Sep 17 00:00:00 2001 From: Rene Milk <rene.milk@uni-muenster.de> Date: Fri, 27 Sep 2013 18:03:05 +0200 Subject: [PATCH] [cmake] adds analyze target for lib sources # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. --- dune/stuff/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dune/stuff/CMakeLists.txt b/dune/stuff/CMakeLists.txt index 3a0c91950..c25b4076d 100644 --- a/dune/stuff/CMakeLists.txt +++ b/dune/stuff/CMakeLists.txt @@ -1,4 +1,4 @@ -dune_add_library("dunestuff" common/filesystem.cc +set(lib_dune_stuff_sources common/filesystem.cc common/color.cc common/logging.cc common/logstreams.cc @@ -8,8 +8,12 @@ dune_add_library("dunestuff" common/filesystem.cc common/signals.cc common/math.cc fem/femeoc.cc - functions/expression/mathexpr.cc + functions/expression/mathexpr.cc ) + +dune_add_library("dunestuff" ${lib_dune_stuff_sources} ADD_LIBS ${DUNE_LIBS}) target_link_dune_default_libraries(dunestuff) +add_analyze(${lib_dune_stuff_sources}) + add_subdirectory(test EXCLUDE_FROM_ALL) -- GitLab