mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-29 04:10:23 -07:00
* [Settings] Split cache_settings into multiple files Took 9 minutes Took 4 minutes * [Settings] Fwd declare settings classes in cache_settings Took 15 minutes * Fix oracle includes. Took 8 minutes * Address comments, fix windows CI Took 8 minutes * fix copy constructor visibility Took 3 minutes * lint Took 2 minutes * Fix native format tests. Took 5 minutes * Remove test header guard Took 4 seconds * Remove tests invalid in CI environ Took 24 seconds * Adjust to rebase. Took 11 minutes * Change settings file name. Took 8 minutes --------- Co-authored-by: Lukas Brübach <lukas.bruebach@bdosecurity.de> Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
36 lines
1.6 KiB
CMake
36 lines
1.6 KiB
CMake
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(HEADERS
|
|
libcockatrice/interfaces/interface_cache_storage_settings_provider.h
|
|
libcockatrice/interfaces/interface_card_database_path_provider.h
|
|
libcockatrice/interfaces/interface_card_preference_provider.h
|
|
libcockatrice/interfaces/interface_card_set_priority_controller.h
|
|
libcockatrice/interfaces/interface_cards_display_settings_provider.h
|
|
libcockatrice/interfaces/interface_chat_settings_provider.h
|
|
libcockatrice/interfaces/interface_game_settings_provider.h
|
|
libcockatrice/interfaces/interface_interface_settings_provider.h
|
|
libcockatrice/interfaces/interface_network_settings_provider.h
|
|
libcockatrice/interfaces/interface_paths_settings_provider.h
|
|
libcockatrice/interfaces/interface_personal_settings_provider.h
|
|
libcockatrice/interfaces/interface_sound_settings_provider.h
|
|
libcockatrice/interfaces/interface_tabs_settings_provider.h
|
|
libcockatrice/interfaces/interface_updates_settings_provider.h
|
|
libcockatrice/interfaces/interface_visual_deck_storage_settings_provider.h
|
|
libcockatrice/interfaces/noop_card_database_path_provider.h
|
|
libcockatrice/interfaces/noop_card_preference_provider.h
|
|
libcockatrice/interfaces/noop_card_set_priority_controller.h
|
|
)
|
|
|
|
if(Qt6_FOUND)
|
|
qt6_wrap_cpp(MOC_SOURCES ${HEADERS})
|
|
elseif(Qt5_FOUND)
|
|
qt5_wrap_cpp(MOC_SOURCES ${HEADERS})
|
|
endif()
|
|
|
|
add_library(libcockatrice_interfaces STATIC ${MOC_SOURCES})
|
|
|
|
target_include_directories(libcockatrice_interfaces PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
target_link_libraries(libcockatrice_interfaces PUBLIC ${QT_CORE_MODULE})
|