aboutsummaryrefslogtreecommitdiff
path: root/src/win/CMakeLists.txt
blob: 06f947a1648606f55840a35a34e721324a6f37fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set(CRU_WIN_BASE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/win/)

add_library(cru_win_base STATIC
	DebugLogger.hpp
	StdOutLogger.hpp

	Exception.cpp
	HeapDebug.cpp
)
target_sources(cru_win_base PUBLIC
	${CRU_WIN_BASE_INCLUDE_DIR}/Exception.hpp
	${CRU_WIN_BASE_INCLUDE_DIR}/WinPreConfig.hpp
)
target_compile_definitions(cru_win_base PUBLIC UNICODE _UNICODE) # use unicode
target_link_libraries(cru_win_base PUBLIC cru_base)

add_subdirectory(graph)
add_subdirectory(native)