537b8cd8b1
This commit was SVN r21188.
30 строки
963 B
CMake
30 строки
963 B
CMake
# Copyright (c) 2007-2009 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2008 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
FILE(GLOB_RECURSE OMPI_SERVER_SOURCE_FILES "*.h" "*.c" "*.cc" "*.cpp")
|
|
|
|
ADD_EXECUTABLE (ompi-server ${OMPI_SERVER_SOURCE_FILES})
|
|
|
|
IF(BUILD_SHARED_LIBS)
|
|
SET_TARGET_PROPERTIES(ompi-server PROPERTIES
|
|
COMPILE_FLAGS "-D_USRDLL -DOPAL_IMPORTS -DOMPI_IMPORTS -DORTE_IMPORTS /TP")
|
|
ENDIF(BUILD_SHARED_LIBS)
|
|
|
|
TARGET_LINK_LIBRARIES (ompi-server Ws2_32.lib shlwapi.lib)
|
|
|
|
INSTALL(TARGETS ompi-server
|
|
DESTINATION bin)
|
|
INSTALL(FILES help-ompi-server.txt DESTINATION share/openmpi)
|
|
|
|
ADD_DEPENDENCIES (ompi-server libmpi libopen-pal libopen-rte )
|
|
|