mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-25 12:13:00 +01:00
Fix cmake format
Apparently auto format does not work via general set variables
This commit is contained in:
parent
7216ac2d91
commit
8e0a3a8f50
@ -50,11 +50,11 @@ set(QML
|
||||
qml/Community/Community.qml
|
||||
qml/Community/CommunityNavItem.qml
|
||||
qml/Community/XMLNewsfeed.qml
|
||||
qml/Create/Wizard.qml
|
||||
qml/Create/Create.qml
|
||||
qml/Create/CreateSidebar.qml
|
||||
qml/Create/StartInfo.qml
|
||||
qml/Create/StartInfoLinkImage.qml
|
||||
qml/Create/Wizard.qml
|
||||
qml/Create/Wizards/GifWallpaper.qml
|
||||
qml/Create/Wizards/HTMLWallpaper.qml
|
||||
qml/Create/Wizards/HTMLWidget.qml
|
||||
@ -75,8 +75,8 @@ set(QML
|
||||
qml/Create/WizardsFiles/QMLWallpaperMain.qml
|
||||
qml/Create/WizardsFiles/QMLWidgetMain.qml
|
||||
qml/Installed/Installed.qml
|
||||
qml/Installed/InstalledWelcomeScreen.qml
|
||||
qml/Installed/InstalledNavigation.qml
|
||||
qml/Installed/InstalledWelcomeScreen.qml
|
||||
qml/Installed/ScreenPlayItem.qml
|
||||
qml/Installed/ScreenPlayItemImage.qml
|
||||
qml/Installed/Sidebar.qml
|
||||
@ -86,8 +86,8 @@ set(QML
|
||||
qml/Monitors/MonitorSelectionItem.qml
|
||||
qml/Monitors/MonitorsProjectSettingItem.qml
|
||||
qml/Monitors/SaveNotification.qml
|
||||
qml/Navigation/Navigation.qml
|
||||
qml/Navigation/ExitPopup.qml
|
||||
qml/Navigation/Navigation.qml
|
||||
qml/Settings/SettingBool.qml
|
||||
qml/Settings/Settings.qml
|
||||
qml/Settings/SettingsButton.qml
|
||||
@ -116,15 +116,18 @@ set(TS_FILES
|
||||
|
||||
set(RESOURCES
|
||||
# cmake-format: sort
|
||||
assets/WorkshopPreview.html
|
||||
"legal/Font Awesome Free License.txt"
|
||||
"legal/Qt LGPLv3.txt"
|
||||
assets/icons/app.ico
|
||||
assets/icons/brand_github.svg
|
||||
assets/icons/brand_gitlab.svg
|
||||
assets/icons/brand_reddit.svg
|
||||
assets/icons/brand_twitch.svg
|
||||
assets/icons/brand_twitter.svg
|
||||
assets/icons/exclamation-triangle-solid.svg
|
||||
assets/icons/font-awsome/close.svg
|
||||
assets/icons/font-awsome/frown-o.svg
|
||||
assets/icons/font-awsome/patreon-brands.svg
|
||||
assets/icons/icon_arrow_left.svg
|
||||
assets/icons/icon_arrow_right.svg
|
||||
assets/icons/icon_build.svg
|
||||
@ -141,10 +144,12 @@ set(RESOURCES
|
||||
assets/icons/icon_folder_open.svg
|
||||
assets/icons/icon_forum.svg
|
||||
assets/icons/icon_help_center.svg
|
||||
assets/icons/icon_import_export_.svg
|
||||
assets/icons/icon_indicator_down.svg
|
||||
assets/icons/icon_info.svg
|
||||
assets/icons/icon_installed.svg
|
||||
assets/icons/icon_launch.svg
|
||||
assets/icons/icon_minimize.svg
|
||||
assets/icons/icon_movie.svg
|
||||
assets/icons/icon_new_releases.svg
|
||||
assets/icons/icon_open_in_new.svg
|
||||
@ -157,29 +162,38 @@ set(RESOURCES
|
||||
assets/icons/icon_settings.svg
|
||||
assets/icons/icon_share.svg
|
||||
assets/icons/icon_single_image.svg
|
||||
assets/icons/icon_sort-down-solid.svg
|
||||
assets/icons/icon_sort-up-solid.svg
|
||||
assets/icons/icon_steam.svg
|
||||
assets/icons/icon_supervisor_account.svg
|
||||
assets/icons/icon_thumb_down.svg
|
||||
assets/icons/icon_thumb_up.svg
|
||||
assets/icons/icon_upload.svg
|
||||
assets/icons/icon_video_settings_black_24dp.svg
|
||||
assets/icons/icon_volume.svg
|
||||
assets/icons/icon_volume_mute.svg
|
||||
assets/icons/icon_volume_up.svg
|
||||
assets/icons/icon_widgets.svg
|
||||
assets/icons/icon_window.svg
|
||||
assets/icons/item_banner_new.svg
|
||||
assets/icons/monitor_setup.svg
|
||||
assets/icons/steam_default_avatar.png
|
||||
assets/images/Early_Access.png
|
||||
assets/images/Intro.png
|
||||
assets/images/trayIcon_windows.png
|
||||
assets/images/Intro_PC.png
|
||||
assets/images/Intro_shine.png
|
||||
assets/images/Window.svg
|
||||
assets/images/mask_round.svg
|
||||
assets/images/mask_workshop.png
|
||||
assets/images/missingPreview.png
|
||||
assets/images/noisy-texture-3.png
|
||||
assets/images/noisy-texture.png
|
||||
assets/images/scale_window_indicator.png
|
||||
assets/images/steam_offline.png
|
||||
assets/images/trayIcon_windows.png
|
||||
assets/images/Window.svg
|
||||
assets/licenses/Apache2.txt
|
||||
assets/licenses/OFL.txt
|
||||
assets/macos/app.screenplay.plist
|
||||
assets/particle/backgroundGlow.png
|
||||
assets/particle/dot.png
|
||||
assets/shader/movingcolorramp.fsh
|
||||
@ -202,6 +216,8 @@ set(RESOURCES
|
||||
assets/startinfo/sharex.png
|
||||
assets/startinfo/unsplash.png
|
||||
assets/startinfo/vscode.png
|
||||
assets/wizards/example_html.png
|
||||
assets/wizards/example_qml.png
|
||||
assets/wizards/License_All_Rights_Reserved_1.0.txt
|
||||
assets/wizards/License_Apache_2.0.txt
|
||||
assets/wizards/License_CC0_1.0.txt
|
||||
@ -209,35 +225,18 @@ set(RESOURCES
|
||||
assets/wizards/License_CC_Attribution-ShareAlike_4.0.txt
|
||||
assets/wizards/License_CC_Attribution_4.0.txt
|
||||
assets/wizards/License_GPL_3.0.txt
|
||||
assets/wizards/example_html.png
|
||||
assets/wizards/example_qml.png
|
||||
assets/WorkshopPreview.html
|
||||
legal/DataProtection.txt
|
||||
"legal/Font Awesome Free License.txt"
|
||||
legal/OFL.txt
|
||||
legal/OpenSSL.txt
|
||||
"legal/Qt LGPLv3.txt"
|
||||
legal/gpl-3.0.txt
|
||||
legal/lgpl-2.1.txt
|
||||
legal/OFL.txt
|
||||
legal/OpenSSL.txt
|
||||
profiles.json
|
||||
qtquickcontrols2.conf
|
||||
assets/images/Early_Access.png
|
||||
assets/icons/icon_sort-up-solid.svg
|
||||
assets/icons/icon_sort-down-solid.svg
|
||||
assets/icons/brand_reddit.svg
|
||||
assets/icons/icon_import_export_.svg
|
||||
assets/icons/steam_default_avatar.png
|
||||
assets/macos/app.screenplay.plist
|
||||
assets/icons/item_banner_new.svg
|
||||
qml/Create/WizardsFiles/HTMLWallpaperMain.html
|
||||
qml/Create/WizardsFiles/HTMLWidgetMain.html
|
||||
assets/icons/icon_minimize.svg
|
||||
assets/icons/icon_video_settings_black_24dp.svg
|
||||
qml/Create/WizardsFiles/QMLWallpaperMain.qml
|
||||
qml/Create/WizardsFiles/QMLWidgetMain.qml
|
||||
assets/icons/font-awsome/patreon-brands.svg
|
||||
assets/images/steam_offline.png
|
||||
assets/images/scale_window_indicator.png
|
||||
)
|
||||
qtquickcontrols2.conf)
|
||||
|
||||
# Needed on macos
|
||||
find_package(Threads REQUIRED)
|
||||
@ -271,7 +270,8 @@ qt_add_qml_module(
|
||||
ScreenPlayApp
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}App
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
VERSION
|
||||
1.0
|
||||
QML_FILES
|
||||
@ -280,8 +280,7 @@ qt_add_qml_module(
|
||||
${SOURCES}
|
||||
${HEADER}
|
||||
RESOURCES
|
||||
${RESOURCES}
|
||||
)
|
||||
${RESOURCES})
|
||||
target_link_libraries(
|
||||
ScreenPlayApp
|
||||
PUBLIC ScreenPlaySDK
|
||||
@ -316,7 +315,8 @@ if(${SCREENPLAY_TESTS})
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME}.app/Contents/Resources/translations")
|
||||
set_source_files_properties(
|
||||
${TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME}.app/Contents/Resources/translations")
|
||||
else()
|
||||
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations")
|
||||
endif()
|
||||
@ -336,7 +336,9 @@ target_include_directories(
|
||||
PUBLIC inc/public/
|
||||
PRIVATE src/)
|
||||
|
||||
if(WIN32 OR UNIX AND NOT APPLE)
|
||||
if(WIN32
|
||||
OR UNIX
|
||||
AND NOT APPLE)
|
||||
include(CopyRecursive)
|
||||
set(FONTS_OUT_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/assets/fonts)
|
||||
file(MAKE_DIRECTORY ${FONTS_OUT_DIR})
|
||||
@ -417,5 +419,4 @@ if(APPLE)
|
||||
copy_recursive(${CMAKE_CURRENT_SOURCE_DIR}/assets/fonts ${FONTS_OUT_DIR} "*.ttf")
|
||||
copy_recursive(${CMAKE_CURRENT_SOURCE_DIR}/assets/fonts ${FONTS_OUT_DIR} "*.otf")
|
||||
|
||||
|
||||
endif()
|
||||
|
@ -9,9 +9,9 @@ find_package(
|
||||
COMPONENTS Quick Network Core
|
||||
REQUIRED)
|
||||
|
||||
set(SOURCES src/screenplaysdk.cpp)
|
||||
set(SOURCES src/screenplaysdk.cpp)
|
||||
|
||||
set(HEADER inc/public/ScreenPlaySDK/screenplaysdk.h)
|
||||
set(HEADER inc/public/ScreenPlaySDK/screenplaysdk.h)
|
||||
|
||||
add_library(${PROJECT_NAME} ${SOURCES} ${HEADER})
|
||||
|
||||
|
@ -19,13 +19,15 @@ set(QML_PLUGIN_SOURCES src/shaderlibrary.cpp)
|
||||
set(QML_PLUGIN_HEADER src/shaderlibrary.h)
|
||||
|
||||
set(SHADER
|
||||
shaders/lightning.vert
|
||||
# cmake-format: sort
|
||||
shaders/lightning.frag
|
||||
shaders/wobble.frag
|
||||
shaders/lightning.vert
|
||||
shaders/water.frag
|
||||
shaders/water.vert)
|
||||
shaders/water.vert
|
||||
shaders/wobble.frag)
|
||||
|
||||
set(RESOURCES
|
||||
# cmake-format: sort
|
||||
assets/mask_01.png
|
||||
assets/Shadertoy_Bayer.png
|
||||
assets/Shadertoy_Gray_Noise_Medium.png
|
||||
@ -42,7 +44,8 @@ qt_add_qml_module(
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
URI
|
||||
${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
VERSION
|
||||
1.0
|
||||
SOURCES
|
||||
|
@ -17,6 +17,7 @@ find_package(
|
||||
set(QML qml/TestMain.qml)
|
||||
|
||||
set(QML_PLUGIN_SOURCES
|
||||
# cmake-format: sort
|
||||
src/cpu.cpp
|
||||
src/gpu.cpp
|
||||
src/ipaddress.cpp
|
||||
@ -26,6 +27,7 @@ set(QML_PLUGIN_SOURCES
|
||||
src/uptime.cpp)
|
||||
|
||||
set(QML_PLUGIN_HEADER
|
||||
# cmake-format: sort
|
||||
src/cpu.h
|
||||
src/gpu.h
|
||||
src/ipaddress.h
|
||||
@ -51,7 +53,8 @@ qt_add_qml_module(
|
||||
1.0
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
QML_FILES
|
||||
${QML}
|
||||
SOURCES
|
||||
|
@ -10,18 +10,21 @@ find_package(
|
||||
REQUIRED)
|
||||
|
||||
set(QML
|
||||
# cmake-format: sort
|
||||
qml/CloseIcon.qml
|
||||
qml/ColorPicker.qml
|
||||
qml/Dialog.qml
|
||||
qml/Dialogs/CriticalError.qml
|
||||
qml/Dialogs/MonitorConfiguration.qml
|
||||
qml/Dialogs/SteamNotAvailable.qml
|
||||
qml/FileDropAnimation.qml
|
||||
qml/FileSelector.qml
|
||||
qml/Grow.qml
|
||||
qml/GrowIconLink.qml
|
||||
qml/Headline.qml
|
||||
qml/HeadlineSection.qml
|
||||
qml/ImageSelector.qml
|
||||
qml/JSUtil.js
|
||||
qml/LicenseSelector.qml
|
||||
qml/ModalBackgroundBlur.qml
|
||||
qml/MouseHoverBlocker.qml
|
||||
@ -29,17 +32,17 @@ set(QML
|
||||
qml/RippleEffect.qml
|
||||
qml/Search.qml
|
||||
qml/Shake.qml
|
||||
qml/FileDropAnimation.qml
|
||||
qml/Slider.qml
|
||||
qml/Tag.qml
|
||||
qml/TagSelector.qml
|
||||
qml/TextField.qml
|
||||
qml/TrayIcon.qml
|
||||
qml/JSUtil.js)
|
||||
qml/TrayIcon.qml)
|
||||
|
||||
set(SOURCES inc/public/ScreenPlayUtil/httpfileserver.cpp src/contenttypes.cpp src/util.cpp)
|
||||
set(SOURCES # cmake-format: sort
|
||||
inc/public/ScreenPlayUtil/httpfileserver.cpp src/contenttypes.cpp src/util.cpp)
|
||||
|
||||
set(HEADER
|
||||
# cmake-format: sort
|
||||
inc/public/ScreenPlayUtil/AutoPropertyHelpers.h
|
||||
inc/public/ScreenPlayUtil/ConstRefPropertyHelpers.h
|
||||
inc/public/ScreenPlayUtil/contenttypes.h
|
||||
@ -52,10 +55,8 @@ set(HEADER
|
||||
inc/public/ScreenPlayUtil/SingletonHelper.h
|
||||
inc/public/ScreenPlayUtil/util.h)
|
||||
|
||||
set(RESOURCES
|
||||
assets/icons/folder.svg
|
||||
assets/icons/description.svg
|
||||
assets/icons/attach_file.svg)
|
||||
set(RESOURCES # cmake-format: sort
|
||||
assets/icons/attach_file.svg assets/icons/description.svg assets/icons/folder.svg)
|
||||
|
||||
qt_add_library(
|
||||
${PROJECT_NAME}
|
||||
@ -67,7 +68,8 @@ qt_add_qml_module(
|
||||
${PROJECT_NAME}
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
URI
|
||||
${PROJECT_NAME}
|
||||
VERSION
|
||||
|
@ -37,6 +37,7 @@ set(SOURCES ${SOURCES} main.cpp src/basewindow.cpp)
|
||||
set(HEADER ${HEADER} src/basewindow.h)
|
||||
|
||||
set(QML
|
||||
# cmake-format: sort
|
||||
qml/GifWallpaper.qml
|
||||
qml/MultimediaView.qml
|
||||
qml/MultimediaWebView.qml
|
||||
@ -44,13 +45,9 @@ set(QML
|
||||
qml/Wallpaper.qml
|
||||
qml/WebsiteWallpaper.qml)
|
||||
|
||||
set(RESOURCES
|
||||
dot.png
|
||||
qtquickcontrols2.conf
|
||||
index.html
|
||||
)
|
||||
set(RESOURCES dot.png qtquickcontrols2.conf index.html)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADER} )
|
||||
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADER})
|
||||
|
||||
qt_add_qml_module(
|
||||
${PROJECT_NAME}
|
||||
@ -60,7 +57,8 @@ qt_add_qml_module(
|
||||
1.0
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
QML_FILES
|
||||
${QML}
|
||||
RESOURCES
|
||||
|
@ -19,40 +19,50 @@ set(QML_PLUGIN_SOURCES src/screenplayweather.cpp)
|
||||
set(QML_PLUGIN_HEADER src/day.h src/screenplayweather.h)
|
||||
|
||||
set(RESOURCES
|
||||
# cmake-format: sort
|
||||
assets/icons/wi-alien.svg
|
||||
assets/icons/wi-barometer.svg
|
||||
assets/icons/wi-celsius.svg
|
||||
assets/icons/wi-cloud-down.svg
|
||||
assets/icons/wi-cloud-refresh.svg
|
||||
assets/icons/wi-cloud-up.svg
|
||||
assets/icons/wi-cloud.svg
|
||||
assets/icons/wi-cloudy-gusts.svg
|
||||
assets/icons/wi-cloudy-windy.svg
|
||||
assets/icons/wi-day-cloudy.svg
|
||||
assets/icons/wi-cloudy.svg
|
||||
assets/icons/wi-day-cloudy-gusts.svg
|
||||
assets/icons/wi-day-cloudy-high.svg
|
||||
assets/icons/wi-day-cloudy-windy.svg
|
||||
assets/icons/wi-day-cloudy.svg
|
||||
assets/icons/wi-day-fog.svg
|
||||
assets/icons/wi-day-hail.svg
|
||||
assets/icons/wi-day-haze.svg
|
||||
assets/icons/wi-day-lightning.svg
|
||||
assets/icons/wi-day-light-wind.svg
|
||||
assets/icons/wi-day-rain.svg
|
||||
assets/icons/wi-day-lightning.svg
|
||||
assets/icons/wi-day-rain-mix.svg
|
||||
assets/icons/wi-day-rain-wind.svg
|
||||
assets/icons/wi-day-rain.svg
|
||||
assets/icons/wi-day-showers.svg
|
||||
assets/icons/wi-day-sleet.svg
|
||||
assets/icons/wi-day-sleet-storm.svg
|
||||
assets/icons/wi-day-snow.svg
|
||||
assets/icons/wi-day-sleet.svg
|
||||
assets/icons/wi-day-snow-thunderstorm.svg
|
||||
assets/icons/wi-day-snow-wind.svg
|
||||
assets/icons/wi-day-snow.svg
|
||||
assets/icons/wi-day-sprinkle.svg
|
||||
assets/icons/wi-day-storm-showers.svg
|
||||
assets/icons/wi-day-sunny.svg
|
||||
assets/icons/wi-day-sunny-overcast.svg
|
||||
assets/icons/wi-day-sunny.svg
|
||||
assets/icons/wi-day-thunderstorm.svg
|
||||
assets/icons/wi-day-windy.svg
|
||||
assets/icons/wi-degrees.svg
|
||||
assets/icons/wi-direction-down.svg
|
||||
assets/icons/wi-direction-down-left.svg
|
||||
assets/icons/wi-direction-down-right.svg
|
||||
assets/icons/wi-direction-down.svg
|
||||
assets/icons/wi-direction-left.svg
|
||||
assets/icons/wi-direction-right.svg
|
||||
assets/icons/wi-direction-up.svg
|
||||
assets/icons/wi-direction-up-left.svg
|
||||
assets/icons/wi-direction-up-right.svg
|
||||
assets/icons/wi-direction-up.svg
|
||||
assets/icons/wi-dust.svg
|
||||
assets/icons/wi-earthquake.svg
|
||||
assets/icons/wi-fahrenheit.svg
|
||||
@ -61,12 +71,12 @@ set(RESOURCES
|
||||
assets/icons/wi-fog.svg
|
||||
assets/icons/wi-gale-warning.svg
|
||||
assets/icons/wi-hail.svg
|
||||
assets/icons/wi-horizon.svg
|
||||
assets/icons/wi-horizon-alt.svg
|
||||
assets/icons/wi-horizon.svg
|
||||
assets/icons/wi-hot.svg
|
||||
assets/icons/wi-humidity.svg
|
||||
assets/icons/wi-hurricane.svg
|
||||
assets/icons/wi-hurricane-warning.svg
|
||||
assets/icons/wi-hurricane.svg
|
||||
assets/icons/wi-lightning.svg
|
||||
assets/icons/wi-lunar-eclipse.svg
|
||||
assets/icons/wi-meteor.svg
|
||||
@ -101,8 +111,6 @@ set(RESOURCES
|
||||
assets/icons/wi-moon-first-quarter.svg
|
||||
assets/icons/wi-moon-full.svg
|
||||
assets/icons/wi-moon-new.svg
|
||||
assets/icons/wi-moonrise.svg
|
||||
assets/icons/wi-moonset.svg
|
||||
assets/icons/wi-moon-third-quarter.svg
|
||||
assets/icons/wi-moon-waning-crescent-1.svg
|
||||
assets/icons/wi-moon-waning-crescent-2.svg
|
||||
@ -128,63 +136,65 @@ set(RESOURCES
|
||||
assets/icons/wi-moon-waxing-gibbous-4.svg
|
||||
assets/icons/wi-moon-waxing-gibbous-5.svg
|
||||
assets/icons/wi-moon-waxing-gibbous-6.svg
|
||||
assets/icons/wi-moonrise.svg
|
||||
assets/icons/wi-moonset.svg
|
||||
assets/icons/wi-na.svg
|
||||
assets/icons/wi-night-alt-cloudy.svg
|
||||
assets/icons/wi-night-alt-cloudy-gusts.svg
|
||||
assets/icons/wi-night-alt-cloudy-high.svg
|
||||
assets/icons/wi-night-alt-cloudy-windy.svg
|
||||
assets/icons/wi-night-alt-cloudy.svg
|
||||
assets/icons/wi-night-alt-hail.svg
|
||||
assets/icons/wi-night-alt-lightning.svg
|
||||
assets/icons/wi-night-alt-partly-cloudy.svg
|
||||
assets/icons/wi-night-alt-rain.svg
|
||||
assets/icons/wi-night-alt-rain-mix.svg
|
||||
assets/icons/wi-night-alt-rain-wind.svg
|
||||
assets/icons/wi-night-alt-rain.svg
|
||||
assets/icons/wi-night-alt-showers.svg
|
||||
assets/icons/wi-night-alt-sleet.svg
|
||||
assets/icons/wi-night-alt-sleet-storm.svg
|
||||
assets/icons/wi-night-alt-snow.svg
|
||||
assets/icons/wi-night-alt-sleet.svg
|
||||
assets/icons/wi-night-alt-snow-thunderstorm.svg
|
||||
assets/icons/wi-night-alt-snow-wind.svg
|
||||
assets/icons/wi-night-alt-snow.svg
|
||||
assets/icons/wi-night-alt-sprinkle.svg
|
||||
assets/icons/wi-night-alt-storm-showers.svg
|
||||
assets/icons/wi-night-alt-thunderstorm.svg
|
||||
assets/icons/wi-night-clear.svg
|
||||
assets/icons/wi-night-cloudy.svg
|
||||
assets/icons/wi-night-cloudy-gusts.svg
|
||||
assets/icons/wi-night-cloudy-high.svg
|
||||
assets/icons/wi-night-cloudy-windy.svg
|
||||
assets/icons/wi-night-cloudy.svg
|
||||
assets/icons/wi-night-fog.svg
|
||||
assets/icons/wi-night-hail.svg
|
||||
assets/icons/wi-night-lightning.svg
|
||||
assets/icons/wi-night-partly-cloudy.svg
|
||||
assets/icons/wi-night-rain.svg
|
||||
assets/icons/wi-night-rain-mix.svg
|
||||
assets/icons/wi-night-rain-wind.svg
|
||||
assets/icons/wi-night-rain.svg
|
||||
assets/icons/wi-night-showers.svg
|
||||
assets/icons/wi-night-sleet.svg
|
||||
assets/icons/wi-night-sleet-storm.svg
|
||||
assets/icons/wi-night-snow.svg
|
||||
assets/icons/wi-night-sleet.svg
|
||||
assets/icons/wi-night-snow-thunderstorm.svg
|
||||
assets/icons/wi-night-snow-wind.svg
|
||||
assets/icons/wi-night-snow.svg
|
||||
assets/icons/wi-night-sprinkle.svg
|
||||
assets/icons/wi-night-storm-showers.svg
|
||||
assets/icons/wi-night-thunderstorm.svg
|
||||
assets/icons/wi-rain-mix.svg
|
||||
assets/icons/wi-rain-wind.svg
|
||||
assets/icons/wi-rain.svg
|
||||
assets/icons/wi-raindrop.svg
|
||||
assets/icons/wi-raindrops.svg
|
||||
assets/icons/wi-rain-mix.svg
|
||||
assets/icons/wi-rain-wind.svg
|
||||
assets/icons/wi-refresh.svg
|
||||
assets/icons/wi-refresh-alt.svg
|
||||
assets/icons/wi-refresh.svg
|
||||
assets/icons/wi-sandstorm.svg
|
||||
assets/icons/wi-showers.svg
|
||||
assets/icons/wi-sleet.svg
|
||||
assets/icons/wi-small-craft-advisory.svg
|
||||
assets/icons/wi-smog.svg
|
||||
assets/icons/wi-smoke.svg
|
||||
assets/icons/wi-snow-wind.svg
|
||||
assets/icons/wi-snow.svg
|
||||
assets/icons/wi-snowflake-cold.svg
|
||||
assets/icons/wi-snow-wind.svg
|
||||
assets/icons/wi-solar-eclipse.svg
|
||||
assets/icons/wi-sprinkle.svg
|
||||
assets/icons/wi-stars.svg
|
||||
@ -193,11 +203,14 @@ set(RESOURCES
|
||||
assets/icons/wi-strong-wind.svg
|
||||
assets/icons/wi-sunrise.svg
|
||||
assets/icons/wi-sunset.svg
|
||||
assets/icons/wi-thermometer.svg
|
||||
assets/icons/wi-thermometer-exterior.svg
|
||||
assets/icons/wi-thermometer-internal.svg
|
||||
assets/icons/wi-thermometer.svg
|
||||
assets/icons/wi-thunderstorm.svg
|
||||
assets/icons/wi-time-1.svg
|
||||
assets/icons/wi-time-10.svg
|
||||
assets/icons/wi-time-11.svg
|
||||
assets/icons/wi-time-12.svg
|
||||
assets/icons/wi-time-2.svg
|
||||
assets/icons/wi-time-3.svg
|
||||
assets/icons/wi-time-4.svg
|
||||
@ -206,9 +219,6 @@ set(RESOURCES
|
||||
assets/icons/wi-time-7.svg
|
||||
assets/icons/wi-time-8.svg
|
||||
assets/icons/wi-time-9.svg
|
||||
assets/icons/wi-time-10.svg
|
||||
assets/icons/wi-time-11.svg
|
||||
assets/icons/wi-time-12.svg
|
||||
assets/icons/wi-tornado.svg
|
||||
assets/icons/wi-train.svg
|
||||
assets/icons/wi-tsunami.svg
|
||||
@ -216,6 +226,9 @@ set(RESOURCES
|
||||
assets/icons/wi-volcano.svg
|
||||
assets/icons/wi-wind-beaufort-0.svg
|
||||
assets/icons/wi-wind-beaufort-1.svg
|
||||
assets/icons/wi-wind-beaufort-10.svg
|
||||
assets/icons/wi-wind-beaufort-11.svg
|
||||
assets/icons/wi-wind-beaufort-12.svg
|
||||
assets/icons/wi-wind-beaufort-2.svg
|
||||
assets/icons/wi-wind-beaufort-3.svg
|
||||
assets/icons/wi-wind-beaufort-4.svg
|
||||
@ -224,20 +237,8 @@ set(RESOURCES
|
||||
assets/icons/wi-wind-beaufort-7.svg
|
||||
assets/icons/wi-wind-beaufort-8.svg
|
||||
assets/icons/wi-wind-beaufort-9.svg
|
||||
assets/icons/wi-wind-beaufort-10.svg
|
||||
assets/icons/wi-wind-beaufort-11.svg
|
||||
assets/icons/wi-wind-beaufort-12.svg
|
||||
assets/icons/wi-wind-deg.svg
|
||||
assets/icons/wi-windy.svg
|
||||
assets/icons/wi-alien.svg
|
||||
assets/icons/wi-barometer.svg
|
||||
assets/icons/wi-celsius.svg
|
||||
assets/icons/wi-cloud.svg
|
||||
assets/icons/wi-cloud-down.svg
|
||||
assets/icons/wi-cloud-refresh.svg
|
||||
assets/icons/wi-cloud-up.svg
|
||||
assets/icons/wi-cloudy.svg
|
||||
assets/icons/wi-cloudy-gusts.svg)
|
||||
assets/icons/wi-windy.svg)
|
||||
|
||||
qt_add_library(${PROJECT_NAME} STATIC)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ScreenPlayUtil)
|
||||
@ -249,7 +250,8 @@ qt_add_qml_module(
|
||||
${PROJECT_NAME}
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
VERSION
|
||||
1.0
|
||||
QML_FILES
|
||||
|
@ -24,9 +24,10 @@ find_package(
|
||||
Positioning)
|
||||
|
||||
set(RESOURCES
|
||||
# cmake-format: sort
|
||||
assets/icons/baseline-close-24px.svg
|
||||
assets/icons/baseline-opacity-24px.svg
|
||||
assets/icons/baseline-settings-20px.svg
|
||||
assets/icons/baseline-close-24px.svg
|
||||
assets/image/noisy-texture-3.png)
|
||||
|
||||
qt_add_executable(
|
||||
@ -61,7 +62,8 @@ qt_add_qml_module(
|
||||
1.0
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
QML_FILES
|
||||
${QML}
|
||||
RESOURCES
|
||||
|
@ -13,7 +13,7 @@ find_package(
|
||||
REQUIRED)
|
||||
|
||||
set(QML
|
||||
qml/TestMain.qml
|
||||
# cmake-format: sort
|
||||
qml/Background.qml
|
||||
qml/Forum.qml
|
||||
qml/Navigation.qml
|
||||
@ -24,6 +24,7 @@ set(QML
|
||||
qml/SteamProfile.qml
|
||||
qml/SteamWorkshop.qml
|
||||
qml/SteamWorkshopStartPage.qml
|
||||
qml/TestMain.qml
|
||||
qml/upload/PopupSteamWorkshopAgreement.qml
|
||||
qml/upload/UploadProject.qml
|
||||
qml/upload/UploadProjectBigItem.qml
|
||||
@ -33,17 +34,20 @@ set(QML
|
||||
qml/WorkshopItem.qml)
|
||||
|
||||
set(SOURCES
|
||||
# cmake-format: sort
|
||||
src/installedlistmodel.cpp
|
||||
src/screenplayworkshop.cpp
|
||||
src/steamaccount.cpp
|
||||
src/steamapiwrapper.cpp
|
||||
src/steamqmlimageprovider.cpp
|
||||
src/steamworkshop.cpp
|
||||
src/steamworkshopitem.cpp
|
||||
src/steamworkshoplistmodel.cpp
|
||||
src/screenplayworkshop.cpp)
|
||||
src/steamworkshoplistmodel.cpp)
|
||||
|
||||
set(HEADER
|
||||
# cmake-format: sort
|
||||
src/installedlistmodel.h
|
||||
src/screenplayworkshop.h
|
||||
src/steamaccount.h
|
||||
src/steamapiwrapper.h
|
||||
src/steamqmlimageprovider.h
|
||||
@ -51,26 +55,26 @@ set(HEADER
|
||||
src/steamworkshopitem.h
|
||||
src/steamworkshoplistmodel.h
|
||||
src/uploadlistmodel.h
|
||||
src/screenplayworkshop.h
|
||||
src/workshopitem.h)
|
||||
|
||||
set(RESOURCES
|
||||
# cmake-format: sort
|
||||
assets/icons/icon_account_circle.svg
|
||||
assets/icons/icon_arrow_left.svg
|
||||
assets/icons/icon_arrow_right.svg
|
||||
assets/icons/icon_close.svg
|
||||
assets/icons/icon_download.svg
|
||||
assets/icons/icon_file_upload.svg
|
||||
assets/icons/icon_info.svg
|
||||
assets/icons/icon_open_in_new.svg
|
||||
assets/icons/icon_plus.svg
|
||||
assets/icons/icon_search.svg
|
||||
assets/icons/icon_steam.svg
|
||||
assets/icons/icon_thumb_down.svg
|
||||
assets/icons/icon_thumb_up.svg
|
||||
assets/icons/icon_account_circle.svg
|
||||
assets/icons/icon_arrow_left.svg
|
||||
assets/icons/icon_close.svg
|
||||
assets/icons/icon_arrow_right.svg
|
||||
assets/icons/icon_search.svg
|
||||
assets/icons/icon_info.svg
|
||||
assets/images/mask_workshop.png
|
||||
assets/images/steam_default_avatar.png
|
||||
assets/images/steam_offline.png
|
||||
assets/images/mask_workshop.png)
|
||||
assets/images/steam_offline.png)
|
||||
|
||||
set(STEAM_LIB_PATH "${CMAKE_CURRENT_SOURCE_DIR}/SteamSDK/redistributable_bin/")
|
||||
|
||||
@ -104,7 +108,8 @@ qt_add_qml_module(
|
||||
${PROJECT_NAME}
|
||||
OUTPUT_DIRECTORY
|
||||
${SCREENPLAY_QML_MODULES_PATH}/${PROJECT_NAME}
|
||||
RESOURCE_PREFIX /qml
|
||||
RESOURCE_PREFIX
|
||||
/qml
|
||||
VERSION
|
||||
1.0
|
||||
QML_FILES
|
||||
|
Loading…
Reference in New Issue
Block a user