1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-06 09:17:07 +02:00

Formatting

This commit is contained in:
Elias Steurer 2023-11-09 12:57:59 +01:00
parent 2008ff9235
commit da5bd382a8
3 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,9 @@ get_project_version(PROJECT_VERSION)
# This must be set before project()
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
set(CMAKE_OSX_ARCHITECTURES
"arm64;x86_64"
CACHE STRING "" FORCE)
set(SCREENPLAY_QML_MODULES_PATH "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ScreenPlay.app/Contents/MacOS/qml")
endif()
@ -70,7 +72,7 @@ endif()
option(SCREENPLAY_OSX_BUNDLE "Enable distribution macOS bundle" OFF)
option(SCREENPLAY_STEAM "For FOSS distribution so we do not bundle proprietary code." ON)
option(SCREENPLAY_DEPLOY "Marks this version as an official deploy version. This version uses different import paths and other settings."
OFF)
OFF)
option(SCREENPLAY_TESTS "Enables UI tests." ON)
option(SCREENPLAY_INSTALLER "Indicates whether an installer via the Qt Installer Framework is created." OFF)
option(SCREENPLAY_GODOT "Compiles ScreenPlayGodotWallpaper." ON)

View File

@ -60,10 +60,7 @@ if(WIN32)
target_link_libraries(ScreenPlayWallpaperLib PUBLIC shcore.lib)
endif()
add_executable(
${PROJECT_NAME}
${SOURCES}
${HEADER})
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADER})
qt_add_qml_module(
${PROJECT_NAME}

View File

@ -4,12 +4,13 @@
#define NOMINMAX
#endif
#include <windows.h>
// Do not change windows.h order !
#include <algorithm>
#include <iostream>
#include <shellscalingapi.h>
#include <vector>
#include <optional>
#include <functional>
#include <iostream>
#include <optional>
#include <vector>
// Do not sort !
#include "WinUser.h"