aboutsummaryrefslogtreecommitdiff
path: root/src/platform/bootstrap/CMakeLists.txt
blob: 7759415fffd89a983e14c11e70ca4c65b54d4ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(CRU_PLATFORM_BOOTSTRAP_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/bootstrap)
add_library(cru_platform_boostrap SHARED
	Bootstrap.cpp
)
target_sources(cru_platform_boostrap PUBLIC
	${CRU_PLATFORM_BOOTSTRAP_INCLUDE_DIR}/Bootstrap.hpp
)

if(WIN32)
	target_link_libraries(cru_platform_boostrap PUBLIC cru_win_gui)
endif()

target_compile_definitions(cru_platform_boostrap PRIVATE CRU_PLATFORM_BOOTSTRAP_EXPORT_API)