| 1 |
TRIBITS_SUBPACKAGE(Exotec2) |
| 2 |
|
| 3 |
TRIBITS_INCLUDE_DIRECTORIES( |
| 4 |
"${CMAKE_CURRENT_SOURCE_DIR}" |
| 5 |
) |
| 6 |
|
| 7 |
SET(HEADERS "") |
| 8 |
APPEND_GLOB(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.c) |
| 9 |
|
| 10 |
#disabling on PGI due to an odd compiler issue with the compiler generated assembly. |
| 11 |
#this error only seems to manifest on pgi 11.1, however, the version of the compiler |
| 12 |
#is not given for pgi compilers unfortunately so we can't be more specific |
| 13 |
IF(NOT __LINUX_COMPILER_PGI) |
| 14 |
TRIBITS_ADD_EXECUTABLE( |
| 15 |
exotec2 |
| 16 |
NOEXEPREFIX |
| 17 |
NOEXESUFFIX |
| 18 |
SOURCES ${SOURCES} |
| 19 |
COMM serial mpi |
| 20 |
INSTALLABLE |
| 21 |
) |
| 22 |
ENDIF() |
| 23 |
|
| 24 |
TRIBITS_SUBPACKAGE_POSTPROCESS() |