Files
itgmania212121/src/CMakeData-gtk.cmake
T
phantom10111andteejusb 48e797bf35 Move generated directory to build directory
StepMania generates some files during build but it's a bit unusual to generate
them in source directory instead of build directory. Move them to build
directory and remove src/generated from .gitignore.
2024-04-12 22:40:09 -07:00

25 lines
1000 B
CMake

if(NOT GTK3_FOUND)
return()
endif()
add_library("LoadingWindowGtk"
OBJECT
"arch/LoadingWindow/LoadingWindow_Gtk.cpp"
"arch/LoadingWindow/LoadingWindow_Gtk.h")
set_property(TARGET "LoadingWindowGtk" PROPERTY FOLDER "Internal Libraries")
set_property(TARGET "LoadingWindowGtk" PROPERTY CXX_STANDARD 11)
set_property(TARGET "LoadingWindowGtk" PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET "LoadingWindowGtk" PROPERTY CXX_EXTENSIONS ON)
target_include_directories("LoadingWindowGtk" PRIVATE "${SM_SRC_DIR}"
"${SM_GENERATED_SRC_DIR}"
"${SM_SRC_DIR}/arch/LoadingWindow"
"${GTK3_INCLUDE_DIRS}")
target_link_libraries("LoadingWindowGtk" ${GTK3_LIBRARIES})
list(APPEND SMDATA_LINK_LIB "LoadingWindowGtk")
list(APPEND SMDATA_ARCH_LOADING_HPP
"arch/LoadingWindow/LoadingWindow_Gtk.h")