aboutsummaryrefslogtreecommitdiff
path: root/src/win/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-10 19:42:46 +0800
committercrupest <crupest@outlook.com>2019-04-10 19:42:46 +0800
commit7351020a582d70a1495249fba87d342c8a1fb634 (patch)
treee80f225041dc3816b3dce21c7e15aadbb211602e /src/win/CMakeLists.txt
parenta94a806f69586e08a30fff0cdb3e52b0ce7acfa5 (diff)
downloadcru-7351020a582d70a1495249fba87d342c8a1fb634.tar.gz
cru-7351020a582d70a1495249fba87d342c8a1fb634.tar.bz2
cru-7351020a582d70a1495249fba87d342c8a1fb634.zip
Refactor.
Diffstat (limited to 'src/win/CMakeLists.txt')
-rw-r--r--src/win/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/win/CMakeLists.txt b/src/win/CMakeLists.txt
new file mode 100644
index 00000000..1ca1f544
--- /dev/null
+++ b/src/win/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(cru_win_base STATIC
+ debug.cpp
+ exception.cpp
+ string_util.cpp
+)
+target_compile_definitions(cru_win_base PUBLIC UNICODE _UNICODE) # use unicode
+target_include_directories(cru_win_base PUBLIC ${PROJECT_SOURCE_DIR}/include .)
+
+add_subdirectory(graph)
+add_subdirectory(native)