Skip to content

Commit

Permalink
build: Export compile commands
Browse files Browse the repository at this point in the history
For IDEs
  • Loading branch information
leoetlino committed May 9, 2020
1 parent 181ecbf commit b3b57da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
cd source
mkdir build || true
cd build
cmake .. -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_TOOLCHAIN_FILE=../../DevkitArm3DS.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCODEADDR=$(CODEADDR)
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_TOOLCHAIN_FILE=../../DevkitArm3DS.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCODEADDR=$(CODEADDR)
ninja
cp *.sym *.bin ../../

Expand Down

0 comments on commit b3b57da

Please sign in to comment.