implemented controls

This commit is contained in:
djaidjai committed 2025-01-11 15:20:39 +01:00
1 parent b3db9a7045
commit 884b53655b
15 files changed
+169 -73

No files matched your search

+10 -2
View File
@@ -14,11 +14,19 @@ file(GLOB_RECURSE SOURCE_FILES
${CMAKE_SOURCE_DIR}/src/*.cu)
# header files
file(GLOB_RECURSE HEADER_FILES
file(GLOB HEADER_FILES
${CMAKE_SOURCE_DIR}/src/*.h
${CMAKE_SOURCE_DIR}/src/*.hpp)
add_executable(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES})
# imgui - note: could be done as a library as well but this was easier for now
file(GLOB IMGUI_FILES
${CMAKE_SOURCE_DIR}/include/imgui/*.h
${CMAKE_SOURCE_DIR}/include/imgui/*.cpp
${CMAKE_SOURCE_DIR}/include/imgui/backends/imgui_impl_glfw.*
${CMAKE_SOURCE_DIR}/include/imgui/backends/imgui_impl_opengl3.*)
include_directories(${CMAKE_SOURCE_DIR}/include/imgui)
add_executable(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES} ${IMGUI_FILES})
# CUDA has specific architectures - set it to the system's architecture if available (or 70 by default)
set_target_properties(${PROJECT_NAME} PROPERTIES CUDA_ARCHITECTURES 70)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.