Browse Source

Fix VSCode (#1193)

* Executable is called game, not main

* Use make not mingw32-make on macOS
pull/1202/head
Stefan E. Mayer 5 years ago
committed by GitHub
parent
commit
c21e9a721b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      projects/VSCode/.vscode/launch.json
  2. +3
    -0
      projects/VSCode/Makefile

+ 1
- 1
projects/VSCode/.vscode/launch.json View File

@ -8,7 +8,7 @@
"name": "Debug", "name": "Debug",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/main",
"program": "${workspaceFolder}/game",
"args": [], "args": [],
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",

+ 3
- 0
projects/VSCode/Makefile View File

@ -180,6 +180,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),LINUX) ifeq ($(PLATFORM_OS),LINUX)
MAKE = make MAKE = make
endif endif
ifeq ($(PLATFORM_OS),OSX)
MAKE = make
endif
endif endif
# Define compiler flags: # Define compiler flags:

Loading…
Cancel
Save