-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
30 lines (26 loc) · 1.19 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
cmake_minimum_required(VERSION 3.11)
project(SALEcVtsReader C)
SET(CMAKE_C_STANDARD 99)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp -Wno-unused-result -O3")
LINK_LIBRARIES(z m)
SET(SRCS src/VtsTag.c
src/VtsReader.c
src/InputParser.c
src/Utility.c
src/Statistic.c)
SET(VTP_SRCS src/VtpReader.c
src/VtpTag.c
src/VtkWriter.c)
SET(CITCOMS_SRCS src/Utility2d.c)
include_directories(src 3d)
add_executable(SALEcVtsReader src/main.c ${SRCS})
add_executable(SALEcVtsSlice src/SliceFilter.c ${SRCS} ${VTP_SRCS})
add_executable(Remnant src/remnant.c ${SRCS})
add_executable(TracerView src/Tracer.c ${SRCS} src/TracerReader.c src/TracerReader.h src/AVLTree.c src/AVLTree.h)
add_executable(VtpTracer src/VtpTracer.c ${SRCS} ${VTP_SRCS} )
add_executable(CitcomsExport src/ToCitcoms2d.c ${SRCS} ${CITCOMS_SRCS})
add_executable(Vts2dProfile src/Vts2dProfile.c ${SRCS} ${CITCOMS_SRCS})
add_executable(generateEjectaVtp 3d/ejecta_txt2vtp.c 3d/ejecta_analysis.c ${SRCS} ${VTP_SRCS})
add_executable(txt2vts 2d/txt2vts.c ${SRCS} ${VTP_SRCS})
add_executable(citcoms_set_dump 3d/citcoms_set_dump.c 3d/citcoms_related.c ${SRCS} ${VTP_SRCS})
target_compile_options(CitcomsExport PUBLIC -O0)