Created
August 7, 2021 14:03
-
-
Save earlgreyxxx/9319f1be85ca1080be805756054d91b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "run nmake", | |
"type": "shell", | |
"command": "nmake.exe", | |
"args": [ | |
"debug=1" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"detail": "nmakeによるビルド", | |
"problemMatcher": [] | |
}, | |
{ | |
"label": "run nmake clean", | |
"type": "shell", | |
"command": "nmake.exe", | |
"args": [ | |
"clean" | |
], | |
"detail": "nmake clean 実行" | |
}, | |
{ | |
"type": "shell", | |
"label": "run cl.exe", | |
"command": "cl.exe", | |
"args": [ | |
"/nologo", | |
"/DUNICODE", | |
"/D_UNICODE", | |
"/D_DEBUG", | |
"/Fo:${fileDirname}\\output\\", | |
"/Fd:${fileDirname}\\output\\", | |
"/Fe:${fileDirname}\\${fileBasenameNoExtension}.exe", | |
"/Zi", | |
"/EHsc", | |
"${file}", | |
"/link", | |
"/PDB:${fileDirname}\\output\\${fileBasenameNoExtension}.pdb", | |
"/ILK:${fileDirname}\\output\\${fileBasenameNoExtension}.ilk" | |
], | |
"options": { | |
"cwd": "${fileDirname}" | |
}, | |
"problemMatcher": [ | |
"$msCompile" | |
], | |
"group": "build", | |
"detail": "CL.exeによるビルド", | |
"dependsOn": "run mkdir" | |
}, | |
{ | |
"type": "shell", | |
"label": "run csc.exe", | |
"command": "csc.exe", | |
"args": [ | |
"-nologo", | |
"-target:exe", | |
"-platform:anycpu", | |
"-debug+", | |
"-debug:portable", | |
"-optimize-", | |
"-unsafe+", | |
"-pdb:${fileDirname}\\output\\${fileBasenameNoExtension}.pdb", | |
"-out:${fileDirname}\\output\\${fileBasenameNoExtension}.exe", | |
"${file}", | |
], | |
"options": { | |
"cwd": "${fileDirname}" | |
}, | |
"problemMatcher": [ | |
"$msCompile" | |
], | |
"group": "build", | |
"detail": "CSC.exeによるビルド", | |
"dependsOn": "run mkdir" | |
}, | |
{ | |
"type": "shell", | |
"label": "run mkdir", | |
"command": [ | |
"IF", | |
"NOT", | |
"EXIST", | |
"output", | |
"MKDIR", | |
"output" | |
], | |
"group": "build", | |
"detail": "出力フォルダがなければ作成" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment