forked from Kitware/ParaView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
31 lines (29 loc) · 852 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
if (USE_CATALYST)
add_library(CxxMultiChannelInputExampleAdaptor
FEAdaptor.cxx
FEAdaptor.h)
target_link_libraries(CxxMultiChannelInputExampleAdaptor
INTERFACE
VTK::PythonUsed
PRIVATE
ParaView::PythonCatalyst
VTK::CommonDataModel
VTK::ParallelMPI)
endif ()
add_executable(CxxMultiChannelInputExample
FEDataStructures.cxx
FEDataStructures.h
FEDriver.cxx)
if (TARGET CxxMultiChannelInputExampleAdaptor)
target_link_libraries(CxxMultiChannelInputExample
PRIVATE
CxxMultiChannelInputExampleAdaptor
VTK::mpi)
else ()
target_link_libraries(CxxMultiChannelInputExample
PRIVATE
MPI::MPI_C)
endif ()
if (BUILD_TESTING)
add_test(NAME CxxMultiChannelInputExampleTest COMMAND CxxMultiChannelInputExample ${CMAKE_CURRENT_SOURCE_DIR}/../SampleScripts/allinputsgridwriter.py)
endif()