Skip to content

Makefile VSCode Configuration

Rylie Johnson edited this page Nov 11, 2022 · 2 revisions

I’m working on it? I want to figure out how to compile using vscode with tiles

Still working on things like setting breakpoints, but I was able to compile in vscode

Make sure you have the makefile extension installed

Click the makefile button on the left after you install

Set the launch target to crawl

Set the build target to build-rltiles

It may not work, it may try to run in the console. I did make -j4 TILES=y once more in the terminal, and then trying it again worked

You can edit your user settings.json file and add this

"makefile.configurations": [

   `{`
       `"name": "crawl",`
       `"makeArgs": ["-j4", "TILES=y"]`
   `}`

]

Clone this wiki locally