-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCMakeLists.txt
29 lines (24 loc) · 1.02 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
add_executable(simple simple.cpp)
target_link_libraries(simple PUBLIC fmt::fmt)
target_compile_options(simple PRIVATE ${TSMP_CMAKE_CXX_FLAGS})
enable_reflection(simple)
add_executable(json json.cpp)
target_link_libraries(json PUBLIC fmt::fmt range-v3::range-v3)
target_compile_options(json PRIVATE ${TSMP_CMAKE_CXX_FLAGS})
enable_reflection(json)
add_executable(json_encode json_encode.cpp)
target_link_libraries(json_encode PUBLIC tsmp::json)
target_compile_options(json_encode PRIVATE ${TSMP_CMAKE_CXX_FLAGS})
enable_reflection(json_encode)
add_executable(proxy proxy.cpp)
target_link_libraries(proxy PUBLIC fmt::fmt)
target_compile_options(proxy PRIVATE ${TSMP_CMAKE_CXX_FLAGS})
enable_reflection(proxy)
add_executable(enum enum.cpp)
target_link_libraries(enum PUBLIC fmt::fmt)
target_compile_options(enum PRIVATE ${TSMP_CMAKE_CXX_FLAGS})
enable_reflection(enum)
add_executable(tracing tracing.cpp)
target_link_libraries(tracing PUBLIC fmt::fmt)
target_compile_options(tracing PRIVATE ${TSMP_CMAKE_CXX_FLAGS})
enable_reflection(tracing)