vscode
This commit is contained in:
parent
3f023baa2f
commit
439b53c74d
11
.vscode/tasks.json
vendored
11
.vscode/tasks.json
vendored
|
@ -51,18 +51,21 @@
|
|||
{
|
||||
"label": "UpdateMake",
|
||||
"type": "process",
|
||||
"command": "./build/premake5",
|
||||
"command": "./premake5",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/build/"
|
||||
},
|
||||
"args": [
|
||||
"gmake2"
|
||||
],
|
||||
"windows": {
|
||||
"command": "./build/premake5.exe"
|
||||
"command": "./premake5.exe"
|
||||
},
|
||||
"linux": {
|
||||
"command": "./build/premake5"
|
||||
"command": "./premake5"
|
||||
},
|
||||
"osx": {
|
||||
"command": "./build/premake5.osx"
|
||||
"command": "./premake5.osx"
|
||||
},
|
||||
"group": "build"
|
||||
}
|
||||
|
|
|
@ -56,9 +56,9 @@ end
|
|||
workspaceName = 'MyGame'
|
||||
baseName = path.getbasename(path.getdirectory(os.getcwd()));
|
||||
|
||||
if (baseName ~= 'raylib-quickstart') then
|
||||
--if (baseName ~= 'raylib-quickstart') then
|
||||
workspaceName = baseName
|
||||
end
|
||||
--end
|
||||
|
||||
if (os.isdir('build_files') == false) then
|
||||
os.mkdir('build_files')
|
||||
|
|
|
@ -44,7 +44,7 @@ extern "C" { // Prevents name mangling of functions
|
|||
/// </summary>
|
||||
/// <param name="folderName">The name of the resources dir to look for</param>
|
||||
/// <returns>True if a dir with the name was found, false if no change was made to the working dir</returns>
|
||||
inline bool SearchAndSetResourceDir(const char* folderName)
|
||||
inline static bool SearchAndSetResourceDir(const char* folderName)
|
||||
{
|
||||
// check the working dir
|
||||
if (DirectoryExists(folderName))
|
||||
|
|
Loading…
Reference in a new issue