Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow windows build with vscode #7006

Merged
merged 1 commit into from
Dec 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 19 additions & 6 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,39 @@
"${workspaceFolder}/demos/",
"${workspaceFolder}/doc/",
"${workspaceFolder}/effects/",
"${workspaceFolder}/fluid/",
"${workspaceFolder}/fonts/",
"${workspaceFolder}/fonttools/",
"${workspaceFolder}/manual/",
"${workspaceFolder}/midi/",
"${workspaceFolder}/miditools/",
"${workspaceFolder}/mscore/",
"${workspaceFolder}/mtest/",
"${workspaceFolder}/rdoc/",
"${workspaceFolder}/share/",
"${workspaceFolder}/synthesizer/",
"${workspaceFolder}/test/",
"${workspaceFolder}/telemetry/",
"${workspaceFolder}/thirdparty/",
"${workspaceFolder}/vtest/",
"${workspaceFolder}/zerberus/",
"${workspaceFolder}/*"
]
}
},
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.18362.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe",
"intelliSenseMode": "msvc-x64",
"cppStandard": "c++11",
"forcedInclude": [
"${workspaceFolder}/all.h"
]
}
],
"version": 4
}
}
3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"twxs.cmake"
],
}
}
13 changes: 12 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/msvc.install_x64/bin/MuseScore3.exe",
"args": ["-d"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
},
{
"name": "gdb debug from debug build",
"type": "cppdbg",
Expand All @@ -25,4 +36,4 @@
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
}
147 changes: 143 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,149 @@
"typeinfo": "cpp",
"utility": "cpp",
"memory": "cpp",
"qgroupbox": "cpp",
"qbytearray": "cpp",
"qcombobox": "cpp"

"QtXml": "cpp",
"QAbstractMessageHandler": "cpp",
"QXmlSchema": "cpp",
"QXmlSchemaValidator": "cpp",
"QXmlStreamReader": "cpp",

"QPointF": "cpp",
"QVariant": "cpp",
"QMap": "cpp",
"QMultiMap": "cpp",
"QByteArray": "cpp",
"QDateTime": "cpp",
"QtGlobal": "cpp",
"QtDebug": "cpp",
"QSharedData": "cpp",
"QHash": "cpp",
"QKeySequence": "cpp",
"QAction": "cpp",
"QtQui": "cpp",

"QAtomicInt": "cpp",
"QErrorMessage": "cpp",
"QEventLoop": "cpp",

"QPainterPath": "cpp",
"QPixmap": "cpp",
"QImage": "cpp",
"QPainter": "cpp",
"QKeyEvent": "cpp",

"QFontDatabase": "cpp",
"QProcess": "cpp",
"QDesktopServices": "cpp",
"QDesktopWidget": "cpp",
"QTextDocument": "cpp",
"QTextDocumentFragment": "cpp",
"QTextCursor": "cpp",
"QAbstractTextDocumentLayout": "cpp",
"QTextBlock": "cpp",
"QTextList": "cpp",
"QClipboard": "cpp",
"QPlainTextEdit": "cpp",
"QStyledItemDelegate": "cpp",

"QDateTimeEdit": "cpp",
"QInputDialog": "cpp",
"QFormLayout": "cpp",
"QItemDelegate": "cpp",
"QSpinBox": "cpp",
"QScrollArea": "cpp",
"QScrollBar": "cpp",
"QToolBar": "cpp",
"QTreeWidget": "cpp",
"QFileDialog": "cpp",
"QPrintDialog": "cpp",
"QPrinter": "cpp",
"QColorDialog": "cpp",
"QDockWidget": "cpp",
"QStackedWidget": "cpp",
"QStackedLayout": "cpp",
"QListWidget": "cpp",
"QMessageBox": "cpp",
"QComboBox": "cpp",
"QMainWindow": "cpp",
"QMenu": "cpp",
"QMenuBar": "cpp",
"QSplitter": "cpp",
"QActionGroup": "cpp",
"QLayout": "cpp",
"QBoxLayout": "cpp",
"QStandardItemModel": "cpp",
"QToolTip": "cpp",
"QToolBox": "cpp",
"QToolButton": "cpp",
"QPushButton": "cpp",
"QWizard": "cpp",
"QGroupBox": "cpp",
"QDial": "cpp",
"QTextEdit": "cpp",
"QLineEdit": "cpp",
"QCheckBox": "cpp",
"QDialogButtonBox": "cpp",
"QProgressBar": "cpp",
"QProgressDialog": "cpp",
"QRadioButton": "cpp",
"QButtonGroup": "cpp",
"QSplashScreen": "cpp",
"QFontComboBox": "cpp",
"QApplication": "cpp",
"QStatusBar": "cpp",
"QStyle": "cpp",
"QStylePainter": "cpp",
"QStyleOptionButton": "cpp",
"QHeaderView": "cpp",
"QUndoGroup": "cpp",
"QUndoStack": "cpp",
"QGraphicsView": "cpp",
"QGraphicsScene": "cpp",
"QGraphicsRectItem": "cpp",
"QLabel": "cpp",
"QFocusFrame": "cpp",
"QMouseEventTransition": "cpp",
"QCommonStyle": "cpp",
"QMdiSubWindow": "cpp",
"QSpacerItem": "cpp",
"QGraphicsSceneMouseEvent": "cpp",
"QtConcurrent": "cpp",
"QScreen": "cpp",
"QGestureEvent": "cpp",

"QSvgRenderer": "cpp",
"QSvgGenerator": "cpp",

"QFile": "cpp",
"QFileInfo": "cpp",

"QNetworkAccessManager": "cpp",
"QNetworkReply": "cpp",
"QNetworkCookie": "cpp",
"QNetworkCookieJar": "cpp",
"QNetworkProxyFactory": "cpp",
"QHostAddress": "cpp",
"QUdpSocket": "cpp",

"QHttpPart": "cpp",
"QHttpMultiPart": "cpp",

"QQmlEngine": "cpp",
"QQmlComponent": "cpp",
"QQuickItem": "cpp",
"QQuickPaintedItem": "cpp",
"QQuickView": "cpp",
"QQuickWidget": "cpp",

"QHelpEngine": "cpp",
"QWidgetAction": "cpp",
"QHelpIndexModel": "cpp",
"QTextBrowser": "cpp",

"QJsonDocument": "cpp",
"QString": "cpp",
},
"cmake.buildDirectory": "${workspaceRoot}/build.debug",
"cmake.configureOnOpen": true
}
}
48 changes: 48 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "./msvc_build.bat",
"options": {
"cwd": "${workspaceFolder}"
},
"runOptions": {

},
"args": [
"debug"
],
"detail": "Build using msvc_build.bat",
"problemMatcher": "$msCompile"
},
{
"label": "Install",
"type": "shell",
"command": "./msvc_build.bat",
"options": {
"cwd": "${workspaceFolder}"
},
"args": [
"installdebug"
],
"detail": "Build and install using msvc_build.bat"
},
{
"label": "build and install",
"dependsOrder": "sequence",
"dependsOn": [
"Build",
"Install"
],
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
"isDefault": true
},
}
]
}