mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-14 22:42:34 +02:00
Add working macos launch.json
Remove mac only files from linux/windows build
This commit is contained in:
parent
d2fc2bbc6d
commit
736b4a25bf
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
@ -5,7 +5,19 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Debug SP",
|
"name": "MacOS (lldb) Debug",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/../build_ScreenPlay_Qt_6_3_2_Clang/bin/ScreenPlay.app/Contents/MacOS/ScreenPlay",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "lldb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Windows Debug ScreenPlay",
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/../build_ScreenPlay_Qt_6_4_1_MSVC2019/bin/ScreenPlay.exe",
|
"program": "${workspaceFolder}/../build_ScreenPlay_Qt_6_4_1_MSVC2019/bin/ScreenPlay.exe",
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
"displayName": "ScreenPlay 64bit Debug osx",
|
"displayName": "ScreenPlay 64bit Debug osx",
|
||||||
"description": "Osx only!",
|
"description": "Osx only!",
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_3_2_GCC",
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_3_2_Clang",
|
||||||
"condition": {
|
"condition": {
|
||||||
"type": "equals",
|
"type": "equals",
|
||||||
"lhs": "${hostSystemName}",
|
"lhs": "${hostSystemName}",
|
||||||
|
@ -40,7 +40,7 @@ set(QML
|
|||||||
qml/TrayIcon.qml)
|
qml/TrayIcon.qml)
|
||||||
|
|
||||||
set(SOURCES # cmake-format: sort
|
set(SOURCES # cmake-format: sort
|
||||||
inc/public/ScreenPlayUtil/httpfileserver.cpp src/contenttypes.cpp src/util.cpp src/macutils.mm)
|
inc/public/ScreenPlayUtil/httpfileserver.cpp src/contenttypes.cpp src/util.cpp)
|
||||||
|
|
||||||
set(HEADER
|
set(HEADER
|
||||||
# cmake-format: sort
|
# cmake-format: sort
|
||||||
@ -54,9 +54,13 @@ set(HEADER
|
|||||||
inc/public/ScreenPlayUtil/PropertyHelpers.h
|
inc/public/ScreenPlayUtil/PropertyHelpers.h
|
||||||
inc/public/ScreenPlayUtil/PtrPropertyHelpers.h
|
inc/public/ScreenPlayUtil/PtrPropertyHelpers.h
|
||||||
inc/public/ScreenPlayUtil/SingletonHelper.h
|
inc/public/ScreenPlayUtil/SingletonHelper.h
|
||||||
inc/public/ScreenPlayUtil/macutils.h
|
|
||||||
inc/public/ScreenPlayUtil/util.h)
|
inc/public/ScreenPlayUtil/util.h)
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
|
list(APPEND SOURCES src/macutils.mm)
|
||||||
|
list(APPEND HEADER inc/public/ScreenPlayUtil/macutils.h)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(RESOURCES # cmake-format: sort
|
set(RESOURCES # cmake-format: sort
|
||||||
assets/icons/attach_file.svg assets/icons/description.svg assets/icons/folder.svg)
|
assets/icons/attach_file.svg assets/icons/description.svg assets/icons/folder.svg)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user