Skip to content
Snippets Groups Projects
Commit 996cb6e1 authored by renchao.lu's avatar renchao.lu Committed by Dmitri Naumov
Browse files

[CMake] Create ChemistryLib.

parent dd11e53e
No related branches found
No related tags found
No related merge requests found
#Source files grouped by a directory
get_source_files(SOURCES)
append_source_files(SOURCES PhreeqcIOData)
# Create the library
add_library(ChemistryLib ${SOURCES})
if(BUILD_SHARED_LIBS)
install(TARGETS ChemistryLib LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
include(GenerateExportHeader)
generate_export_header(ChemistryLib)
target_link_libraries(ChemistryLib
PUBLIC iphreeqc
PRIVATE NumLib
)
if(OGS_USE_PCH)
cotire(ChemistryLib)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment