changed to single build directory and now using debug and build sh scripts
parent
3a4c037aa7
commit
851714810c
|
@ -1,6 +1,7 @@
|
||||||
# build dirs
|
# build dirs
|
||||||
bin/
|
bin/
|
||||||
release/
|
release/
|
||||||
|
build/
|
||||||
debug/
|
debug/
|
||||||
|
|
||||||
# clangd cache
|
# clangd cache
|
||||||
|
|
|
@ -30,4 +30,4 @@ add_executable(${PROJECT}
|
||||||
|
|
||||||
target_link_libraries(${PROJECT} SDL2 SDL2_image SDL2_ttf)
|
target_link_libraries(${PROJECT} SDL2 SDL2_image SDL2_ttf)
|
||||||
|
|
||||||
target_include_directories(${PROJECT} PRIVATE "${CMAKE_SOURCE_DIR}/include/" "${CMAKE_SOURCE_DIR}/src/sge/")
|
target_include_directories(${PROJECT} PRIVATE "${CMAKE_SOURCE_DIR}/include/" "${CMAKE_SOURCE_DIR}/src/corelib" "${CMAKE_SOURCE_DIR}/src/ui")
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug && cmake --build build && lldb bin/sim-game -o r -b
|
Loading…
Reference in New Issue