aboutsummaryrefslogtreecommitdiff
path: root/src/win/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/CMakeLists.txt')
-rw-r--r--src/win/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win/CMakeLists.txt b/src/win/CMakeLists.txt
index e190e9a0..ff3d6f96 100644
--- a/src/win/CMakeLists.txt
+++ b/src/win/CMakeLists.txt
@@ -1,8 +1,8 @@
-add_library(cru_win_base STATIC
- DebugLogger.hpp
- StdOutLogger.hpp
+add_library(cru_win_base SHARED
+ ForDllExport.cpp
)
target_compile_definitions(cru_win_base PUBLIC UNICODE _UNICODE) # use unicode
+target_compile_definitions(cru_win_base PRIVATE CRU_WIN_EXPORT_API)
target_link_libraries(cru_win_base PUBLIC cru_base)
add_subdirectory(graphics)