Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ target_include_directories(imgui PUBLIC ${IMGUI_SOURCE_DIR} ${IMGUI_SOURCE_DIR}/

find_package(SDL2 REQUIRED)

# Add your project source files
add_executable(LowLevelGame src/main.cpp src/handlers.cpp)

add_executable(LowLevelGame
src/main.cpp
src/handlers.cpp
src/objloader.cpp
)
# Link SDL2 library to your project
target_link_libraries(LowLevelGame PRIVATE imgui SDL2::SDL2)
target_link_libraries(LowLevelGame PRIVATE imgui SDL2::SDL2)
target_include_directories(imgui PUBLIC ${SDL2_INCLUDE_DIRS})
find_package(OpenGL REQUIRED)
target_link_libraries(LowLevelGame PRIVATE OpenGL::GL)
Loading