mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
60c5dbf1fe
This can help with CMake IDE integration and file indexing.
37 lines
491 B
CMake
37 lines
491 B
CMake
set(HEADERS
|
|
UIlib.h
|
|
ui.h
|
|
uidraw.h
|
|
uires.h
|
|
uisys.h)
|
|
set(CPPS
|
|
UIButton.cpp
|
|
UICombo.cpp
|
|
UIConsole.cpp
|
|
UIDraw.cpp
|
|
UIEdit.cpp
|
|
UIGadget.cpp
|
|
UIGroup.cpp
|
|
UIHotspot.cpp
|
|
UIListBox.cpp
|
|
UIObject.cpp
|
|
UIRes.cpp
|
|
UISlider.cpp
|
|
UIStatic.cpp
|
|
UISystem.cpp
|
|
UIWindow.cpp
|
|
)
|
|
|
|
add_library(ui STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(ui PRIVATE
|
|
ddio
|
|
grtext
|
|
mem
|
|
misc
|
|
)
|
|
target_include_directories(ui PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/ui
|
|
>
|
|
)
|