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.
25 lines
614 B
25 lines
614 B
2 years ago
|
TRIBITS_SUBPACKAGE(Exotec2)
|
||
|
|
||
|
TRIBITS_INCLUDE_DIRECTORIES(
|
||
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||
|
)
|
||
|
|
||
|
SET(HEADERS "")
|
||
|
APPEND_GLOB(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
|
||
|
|
||
|
#disabling on PGI due to an odd compiler issue with the compiler generated assembly.
|
||
|
#this error only seems to manifest on pgi 11.1, however, the version of the compiler
|
||
|
#is not given for pgi compilers unfortunately so we can't be more specific
|
||
|
IF(NOT __LINUX_COMPILER_PGI)
|
||
|
TRIBITS_ADD_EXECUTABLE(
|
||
|
exotec2
|
||
|
NOEXEPREFIX
|
||
|
NOEXESUFFIX
|
||
|
SOURCES ${SOURCES}
|
||
|
COMM serial mpi
|
||
|
INSTALLABLE
|
||
|
)
|
||
|
ENDIF()
|
||
|
|
||
|
TRIBITS_SUBPACKAGE_POSTPROCESS()
|