Clean-up: Change indentation to tabs
This commit is contained in:
parent
9c9ec45304
commit
bb20d4a520
6 changed files with 301 additions and 301 deletions
|
@ -8,31 +8,31 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
|
|||
find_package(SFML COMPONENTS system window graphics network audio REQUIRED)
|
||||
|
||||
if(NOT SFML_FOUND)
|
||||
message(FATAL_ERROR "SFML could not be found")
|
||||
message(FATAL_ERROR "SFML could not be found")
|
||||
endif()
|
||||
|
||||
set(LIBS
|
||||
sfml-window
|
||||
sfml-graphics)
|
||||
sfml-window
|
||||
sfml-graphics)
|
||||
|
||||
find_package(ImGui QUIET)
|
||||
find_package(ImGui-SFML QUIET)
|
||||
|
||||
if(NOT ImGui_FOUND OR NOT ImGui-SFML_FOUND OR NO_IMGUI)
|
||||
message("*Not* building with ImGui")
|
||||
message("*Not* building with ImGui")
|
||||
else ()
|
||||
message("Building with ImGui")
|
||||
add_compile_definitions(IMGUI)
|
||||
set(LIBS ${LIBS}
|
||||
ImGui-SFML::ImGui-SFML)
|
||||
message("Building with ImGui")
|
||||
add_compile_definitions(IMGUI)
|
||||
set(LIBS ${LIBS}
|
||||
ImGui-SFML::ImGui-SFML)
|
||||
endif()
|
||||
|
||||
add_compile_options(-Wall -Wextra)
|
||||
|
||||
add_executable(raycasting
|
||||
main.cpp
|
||||
Player.cpp
|
||||
World.cpp
|
||||
)
|
||||
main.cpp
|
||||
Player.cpp
|
||||
World.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(raycasting ${LIBS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue