-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
52 lines (44 loc) · 1.18 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
set(PROJECT_NAME VisCos)
project(${PROJECT_NAME})
add_compile_options(-O3 -ffunction-sections -flto)
find_package(VTK COMPONENTS
CommonColor
CommonCore
CommonDataModel
FiltersSources
FiltersPoints
FiltersModeling
FiltersProgrammable
IOXML
InteractionStyle
RenderingAnnotation
RenderingContextOpenGL2
RenderingCore
RenderingFreeType
RenderingGL2PSOpenGL2
RenderingOpenGL2
InteractionWidgets
RenderingVolumeOpenGL2
)
add_executable(${PROJECT_NAME}
./src/app/VisCos.cxx
./src/main.cxx
./src/helper/helper.cxx
./src/interactive/TimeSliderCallback.cxx
./src/interactive/ResizeWindowCallback.cxx
./src/interactive/KeyPressInteractorStyle.cxx
./src/processing/CalculateTemperatureFilter.cxx
./src/processing/ParticleTypeFilter.cxx
./src/processing/AssignClusterFilter.cxx
./src/processing/StarFilter.cxx
./src/processing/BaryonFilter.cxx
./src/processing/PolyDataToImageDataAlgorithm.cxx
./src/data/Loader.cxx
)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17)
target_link_libraries(${PROJECT_NAME} ${VTK_LIBRARIES})
vtk_module_autoinit(
TARGETS VisCos
MODULES ${VTK_LIBRARIES}
)