Skip to content
Snippets Groups Projects
Commit 6c04dc6a authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Move dunecommon target to the root CMakeLists file

parent b09d1048
Branches
Tags
1 merge request!1048Move dunecommon target to the root CMakeLists file
Pipeline #41119 passed
Pipeline: Dune Nightly Test

#41120

    ......@@ -13,6 +13,13 @@ include(DuneMacros)
    # start a dune project with information from dune.module
    dune_project()
    # Create the module library for dune-common
    dune_add_library(dunecommon)
    # Set properties to the dunecommon target
    add_dune_blas_lapack_flags(dunecommon)
    add_dune_tbb_flags(dunecommon)
    # add subdirectories to execute CMakeLists.txt there
    add_subdirectory(bin)
    add_subdirectory(cmake)
    ......
    ......@@ -3,9 +3,8 @@ add_subdirectory("simd")
    add_subdirectory("std")
    add_subdirectory("test")
    #build the library dunecommon
    dune_add_library("dunecommon"
    # add some sources to the dunecommon library
    target_sources(dunecommon PRIVATE
    debugalign.cc
    debugallocator.cc
    exceptions.cc
    ......@@ -18,9 +17,6 @@ dune_add_library("dunecommon"
    stdstreams.cc
    stdthread.cc)
    add_dune_blas_lapack_flags(dunecommon)
    add_dune_tbb_flags(dunecommon)
    #install headers
    install(FILES
    alignedallocator.hh
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment