https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: c13ceb5dbc546139331f81e65e2df7be1af0be7e authored by Christoph Lehmann on 13 April 2016, 12:35:51 UTC
Merge pull request #1128 from chleh/cleanup-geotype
Tip revision: c13ceb5
CMakeLists.txt

add_executable(ogs
    ogs.cpp
)

target_link_libraries(ogs
    ApplicationsLib
    FileIO
)

ADD_VTK_DEPENDENCY(ogs)

if(OGS_USE_PETSC)
    target_link_libraries(ogs ${PETSC_LIBRARIES})
endif()

include(Tests.cmake)

####################
### Installation ###
####################
install(TARGETS ogs RUNTIME DESTINATION bin COMPONENT ogs_cli)

set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "ogs" "OGS Simulator")
cpack_add_component(ogs_cli
	DISPLAY_NAME "OGS THMC Simulator"
	DESCRIPTION "The command line interface for OpenGeoSys."
	GROUP Applications
)

include(packaging/InstallDependencies)
InstallDependencies(ogs ogs_cli)
back to top