Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Statically declared class members, this is vscProject.cpp
- // ofJson declaration builds and works, string declaration builds but crashes horribly
- ofJson vscProject::templateTasksJson = R"(
- {
- "version": "0.1.0",
- "showOutput": "always",
- "echoCommand": true,
- "tasks": [
- {
- "taskName": "build",
- "command": "dummy",
- "isBuildCommand": true,
- "isShellCommand": true,
- "windows": {
- "command": "echo",
- "args": ["TODO"]
- },
- "linux": {
- "command": "echo",
- "args": ["TODO"]
- },
- "osx": {
- "command": "echo",
- "args": ["TODO"]
- }
- }
- ]
- }
- )"_json;
- string vscProject::templateTasksJson = R"(
- {
- "version": "0.1.0",
- "showOutput": "always",
- "echoCommand": true,
- "tasks": [
- {
- "taskName": "build",
- "command": "dummy",
- "isBuildCommand": true,
- "isShellCommand": true,
- "windows": {
- "command": "echo",
- "args": ["TODO"]
- },
- "linux": {
- "command": "echo",
- "args": ["TODO"]
- },
- "osx": {
- "command": "echo",
- "args": ["TODO"]
- }
- }
- ]
- }
- )"_json;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement