blob: c979f586f2777d9ce4b6e2a633fa154aee0ea4f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
set(CRU_PLATFORM_BOOTSTRAP_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/bootstrap)
add_library(cru_platform_bootstrap SHARED
Bootstrap.cpp
)
target_sources(cru_platform_bootstrap PUBLIC
${CRU_PLATFORM_BOOTSTRAP_INCLUDE_DIR}/Bootstrap.hpp
)
if(WIN32)
target_link_libraries(cru_platform_bootstrap PUBLIC cru_win_gui)
elseif(APPLE)
target_link_libraries(cru_platform_bootstrap PUBLIC cru_osx_gui)
endif()
target_compile_definitions(cru_platform_bootstrap PRIVATE CRU_PLATFORM_BOOTSTRAP_EXPORT_API)
|