mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
38 lines
1.4 KiB
CMake
38 lines
1.4 KiB
CMake
add_library(UI OBJECT
|
|
AboutComponent.cpp
|
|
# AdjustDeadzoneScreen.cpp
|
|
AdvancedOptionsScreen.cpp
|
|
CheatOptionsScreen.cpp
|
|
ColourPulser.cpp
|
|
Dialogs.cpp
|
|
GlobalSettingsComponent.cpp
|
|
MainMenuScreen.cpp
|
|
PauseOptionsComponent.cpp
|
|
PauseScreen.cpp
|
|
RomPreferencesScreen.cpp
|
|
RomSelectorComponent.cpp
|
|
SavestateSelectorComponent.cpp
|
|
SelectedRomComponent.cpp
|
|
SplashScreen.cpp
|
|
UICommand.cpp
|
|
UIComponent.cpp
|
|
UIElement.cpp
|
|
UIScreen.cpp
|
|
UISetting.cpp
|
|
DrawTextUtilities.cpp
|
|
)
|
|
|
|
if(DAEDALUS_GL)
|
|
target_include_directories(UI PUBLIC ${OPENGL_INCLUDE_DIR} ${GLEW_INCLUDE_DIRS})
|
|
endif(DAEDALUS_GL)
|
|
|
|
if(DAEDALUS_GLES)
|
|
target_include_directories(UI PUBLIC ${OPENGLES_INCLUDE_DIR})
|
|
endif(DAEDALUS_GLES)
|
|
|
|
if(DAEDALUS_PROFILE_UI)
|
|
target_compile_options(UI PRIVATE -pg)
|
|
endif(DAEDALUS_PROFILE_UI)
|
|
|
|
list(APPEND daed_libs "UI")
|
|
set(daed_libs ${daed_libs} PARENT_SCOPE)
|