1
1
openmpi/orte/tools/orte-restart/CMakeLists.txt

22 строки
662 B
CMake

# Copyright (c) 2007-2009 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
FILE(GLOB_RECURSE ORTE_RESTART_SOURCE_FILES "*.h" "*.c" "*.cc" "*.cpp")
ADD_EXECUTABLE (orte-restart ${ORTE_RESTART_SOURCE_FILES})
IF(BUILD_SHARED_LIBS)
SET_TARGET_PROPERTIES(orte-restart PROPERTIES
COMPILE_FLAGS "-D_USRDLL -DOPAL_IMPORTS -DOMPI_IMPORTS -DORTE_IMPORTS /TP")
ENDIF(BUILD_SHARED_LIBS)
TARGET_LINK_LIBRARIES (orte-restart Ws2_32.lib shlwapi.lib)
ADD_DEPENDENCIES (orte-restart libopen-pal libopen-rte)