aboutsummaryrefslogtreecommitdiff
path: root/src/platform/gui/CMakeLists.txt
blob: 7f16a0e0fcaaea1c92761413cc976f92d231c7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set(CRU_PLATFORM_GUI_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/gui)
add_library(cru_platform_gui SHARED
	Keyboard.cpp
	UiApplication.cpp
)
target_sources(cru_platform_gui PUBLIC
	${CRU_PLATFORM_GUI_INCLUDE_DIR}/Base.hpp
	${CRU_PLATFORM_GUI_INCLUDE_DIR}/Cursor.hpp
	${CRU_PLATFORM_GUI_INCLUDE_DIR}/InputMethod.hpp
	${CRU_PLATFORM_GUI_INCLUDE_DIR}/Keyboard.hpp
	${CRU_PLATFORM_GUI_INCLUDE_DIR}/Window.hpp
	${CRU_PLATFORM_GUI_INCLUDE_DIR}/UiApplication.hpp
)
target_link_libraries(cru_platform_gui PUBLIC cru_platform_graphics)
target_compile_definitions(cru_platform_gui PRIVATE CRU_PLATFORM_GUI_EXPORT_API)