adding cmake file for mpiwrapper
This commit is contained in:
Родитель
65cef4e40c
Коммит
87324abc10
|
@ -14,6 +14,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11")
|
|||
SET(MULTIVERSO_HEADER_DIR ${PROJECT_SOURCE_DIR}/include)
|
||||
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
||||
SET(MULTIVERSO_LIBRARY_DIR ${PROJECT_BINARY_DIR}/lib)
|
||||
SET(TEST_INC ${PROJECT_SOURCE_DIR}/Test)
|
||||
|
||||
Message(MPI_CXX_COMPILER)
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
INCLUDE_DIRECTORIES(${HEADER_DIR})
|
||||
INCLUDE_DIRECTORIES(${MULTIVERSO_HEADER_DIR})
|
||||
INCLUDE_DIRECTORIES(${TEST_INC})
|
||||
|
||||
SET(MULTIVERSO_TEST_SRC main.cpp)
|
||||
SET(MULTIVERSO_TEST_SRC MPIWrapper.h main.cpp)
|
||||
|
||||
SET(CMAKE_CXX_COMPILER mpicxx)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче