https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: c10de4ecc3b3c9c2cd4f655c5e34835c1a834b3e authored by Dmitry Yu. Naumov on 20 July 2023, 19:07:33 UTC
Merge branch 'CppCheckSupressSystemIncludes' into 'master'
Tip revision: c10de4e
CMakeLists.txt
get_source_files(SOURCES)

ogs_add_library(PhaseField ${SOURCES})
target_link_libraries(PhaseField PUBLIC ProcessLib PRIVATE ParameterLib)

target_precompile_headers(PhaseField PRIVATE [["BaseLib/Error.h"]]
    [["BaseLib/ConfigTree.h"]] [["BaseLib/Logging.h"]]
    [["ProcessLib/Process.h"]] [["MaterialLib/MPL/Medium.h"]]
    [["MaterialLib/MPL/Property.h"]] <Eigen/Core>)

if(OGS_BUILD_TESTING)
    include(Tests.cmake)
endif()
back to top