blob: f5f48795cf441e3fd4e62948ef33be9a2eec6ce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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)
add_subdirectory(bootstrap)
|