1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-07-18 18:48:28 +02:00

Add working macos launch.json

Remove mac only files from linux/windows build
This commit is contained in:
Elias Steurer 2022-12-28 11:36:16 +01:00
parent d2fc2bbc6d
commit 736b4a25bf
3 changed files with 20 additions and 4 deletions

14
.vscode/launch.json vendored
View File

@ -5,7 +5,19 @@
"version": "0.2.0",
"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",
"request": "launch",
"program": "${workspaceFolder}/../build_ScreenPlay_Qt_6_4_1_MSVC2019/bin/ScreenPlay.exe",

View File

@ -79,7 +79,7 @@
"displayName": "ScreenPlay 64bit Debug osx",
"description": "Osx only!",
"generator": "Ninja",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_3_2_GCC",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_3_2_Clang",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",

View File

@ -40,7 +40,7 @@ set(QML
qml/TrayIcon.qml)
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
# cmake-format: sort
@ -54,9 +54,13 @@ set(HEADER
inc/public/ScreenPlayUtil/PropertyHelpers.h
inc/public/ScreenPlayUtil/PtrPropertyHelpers.h
inc/public/ScreenPlayUtil/SingletonHelper.h
inc/public/ScreenPlayUtil/macutils.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
assets/icons/attach_file.svg assets/icons/description.svg assets/icons/folder.svg)