aboutsummaryrefslogtreecommitdiff
path: root/src/platform/bootstrap/CMakeLists.txt
blob: 4092c677e703cbf84c3afd6ab2559817c945e2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_library(CruPlatformBootstrap
	Bootstrap.cpp
)

if(WIN32)
	target_link_libraries(CruPlatformBootstrap PUBLIC CruPlatformGuiWin)
elseif(APPLE)
	target_link_libraries(CruPlatformBootstrap PUBLIC CruPlatformGuiOsx)
elseif(EMSCRIPTEN)
	target_link_libraries(CruPlatformBootstrap PUBLIC CruBase) # TODO: Remember to change this.
else()
	target_link_libraries(CruPlatformBootstrap PUBLIC CruPlatformGraphicsCairo)
endif()

target_compile_definitions(CruPlatformBootstrap PRIVATE CRU_PLATFORM_BOOTSTRAP_EXPORT_API)