File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,15 @@ cmake_minimum_required(VERSION 3.28)
2
2
3
3
project (ArcpdsMockDummy )
4
4
5
- # add project for log
6
- add_subdirectory (log )
5
+ option (BUILD_TOOLS "Build the Collector and Mock" ON )
7
6
8
7
# add project for xevtc (export xevtc.h via vcpkg)
9
8
add_subdirectory (xevtc )
10
9
11
- # then link those to the arcdps_mock project
10
+ if (BUILD_TOOLS )
11
+ # add project for log
12
+ add_subdirectory (log )
12
13
13
- add_subdirectory (arcdps_mock )
14
- add_subdirectory (arcdps_collector )
14
+ add_subdirectory (arcdps_mock )
15
+ add_subdirectory (arcdps_collector )
16
+ endif ()
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ project(ArcdpsMockLog CXX)
3
3
add_library (${PROJECT_NAME} INTERFACE )
4
4
add_library (${PROJECT_NAME} ::${PROJECT_NAME} ALIAS ${PROJECT_NAME} )
5
5
6
+ set_property (TARGET ${PROJECT_NAME} PROPERTY
7
+ MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
8
+
6
9
target_compile_definitions (${PROJECT_NAME} INTERFACE NOMINMAX )
7
10
8
11
#target_include_directories(${PROJECT_NAME} INTERFACE log)
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ project(ArcdpsMock CXX)
3
3
add_library (${PROJECT_NAME} INTERFACE )
4
4
add_library (${PROJECT_NAME} ::${PROJECT_NAME} ALIAS ${PROJECT_NAME} )
5
5
6
+ set_property (TARGET ${PROJECT_NAME} PROPERTY
7
+ MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
8
+
6
9
target_compile_definitions (${PROJECT_NAME} INTERFACE NOMINMAX )
7
10
8
11
#target_include_directories(${PROJECT_NAME} INTERFACE xevtc)
You can’t perform that action at this time.
0 commit comments