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
add_crucible_library(crucible-windows) target_compile_definitions(crucible-windows PRIVATE NOMINMAX _UNICODE UNICODE WIN32_LEAN_AND_MEAN) target_include_directories(crucible-windows PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") target_link_libraries(crucible-windows PUBLIC crucible-core) target_sources(crucible-windows PRIVATE source/crucible/windows/fs.cpp source/crucible/windows/transcoding.cpp source/crucible/windows/windows_error.cpp) add_crucible_test(test-crucible-windows) target_link_libraries(test-crucible-windows PRIVATE crucible-testing crucible-windows) target_sources(test-crucible-windows PRIVATE tests/crucible/windows/test_fs.cpp tests/crucible/windows/test_transcoding.cpp tests/crucible/windows/test_windows_error.cpp tests/main.cpp)