blob: e831c544c0a1ed1237eff8b33ff8345868aefabe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
set(CRU_PLATFORM_BASE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform)
add_library(cru_platform_base SHARED
ForDllExport.cpp
Color.cpp
)
target_sources(cru_platform_base PUBLIC
${CRU_PLATFORM_BASE_INCLUDE_DIR}/Base.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/Check.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/Color.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/Exception.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/GraphBase.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/HeapDebug.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/Matrix.hpp
${CRU_PLATFORM_BASE_INCLUDE_DIR}/Resource.hpp
)
target_link_libraries(cru_platform_base PUBLIC cru_base)
target_compile_definitions(cru_platform_base PRIVATE CRU_PLATFORM_EXPORT_API)
add_subdirectory(graphics)
add_subdirectory(gui)
if(WIN32)
add_subdirectory(bootstrap)
endif()
|