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.
27 lines
595 B
27 lines
595 B
INCLUDE(CheckIncludeFile)
|
|
|
|
TRIBITS_SUBPACKAGE(Nemslice)
|
|
|
|
ASSERT_DEFINED(${PROJECT_NAME}_ENABLE_Zoltan)
|
|
IF (${PROJECT_NAME}_ENABLE_Zoltan)
|
|
TRIBITS_INCLUDE_DIRECTORIES(${Zoltan_INCLUDE_DIRS})
|
|
SET(ZOLTAN_DEP zoltan)
|
|
ADD_DEFINITIONS(-DUSE_ZOLTAN)
|
|
ENDIF()
|
|
|
|
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
SET(HEADERS "")
|
|
APPEND_GLOB(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.C)
|
|
CHECK_INCLUDE_FILE( sys/resource.h HAS_GETRUSAGE )
|
|
|
|
TRIBITS_ADD_EXECUTABLE(
|
|
nem_slice
|
|
NOEXEPREFIX
|
|
NOEXESUFFIX
|
|
SOURCES ${SOURCES}
|
|
COMM serial mpi
|
|
INSTALLABLE
|
|
)
|
|
|
|
TRIBITS_SUBPACKAGE_POSTPROCESS()
|
|
|