You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
635 B
33 lines
635 B
INCLUDE(FortranSettings)
|
|
|
|
if (${CMAKE_PROJECT_NAME} STREQUAL "Seacas")
|
|
INCLUDE(InstallSymLink)
|
|
endif()
|
|
|
|
TRIBITS_SUBPACKAGE(Explore)
|
|
|
|
TRIBITS_INCLUDE_DIRECTORIES(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
|
)
|
|
|
|
SET(HEADERS "")
|
|
APPEND_GLOB(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.f)
|
|
|
|
TRIBITS_ADD_EXECUTABLE(
|
|
explore
|
|
NOEXEPREFIX
|
|
NOEXESUFFIX
|
|
LINKER_LANGUAGE Fortran
|
|
SOURCES ${SOURCES}
|
|
COMM serial mpi
|
|
ADDED_EXE_TARGET_NAME_OUT explore_added
|
|
INSTALLABLE
|
|
)
|
|
|
|
if (explore_added)
|
|
if (${CMAKE_PROJECT_NAME} STREQUAL "Seacas")
|
|
InstallSymLink(explore ${CMAKE_INSTALL_PREFIX}/bin/grope)
|
|
endif()
|
|
endif()
|
|
|
|
TRIBITS_SUBPACKAGE_POSTPROCESS()
|
|
|