2022-02-18 13:47:36 +00:00
|
|
|
|
# CMakeList.txt : Top-level CMake project file, do global configuration
|
|
|
|
|
# and include sub-projects here.
|
|
|
|
|
#
|
|
|
|
|
cmake_minimum_required (VERSION 3.8)
|
|
|
|
|
|
2022-02-19 13:43:01 +00:00
|
|
|
|
project ("Julia")
|
2022-02-18 13:47:36 +00:00
|
|
|
|
|
2022-02-18 15:28:20 +00:00
|
|
|
|
set(IMGUI_SOURCE_DIR "${CMAKE_SOURCE_DIR}/vendor/imgui")
|
|
|
|
|
|
|
|
|
|
set(IMGUI_INCLUDE_DIRS ${IMGUI_SOURCE_DIR})
|
|
|
|
|
set(IMGUI_SOURCE_FILES
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/imgui.cpp"
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/imgui_demo.cpp"
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/imgui_draw.cpp"
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/imgui_tables.cpp"
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/imgui_widgets.cpp"
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/backends/imgui_impl_opengl3.cpp"
|
|
|
|
|
"${IMGUI_SOURCE_DIR}/backends/imgui_impl_glfw.cpp"
|
|
|
|
|
)
|
|
|
|
|
|
2022-02-18 13:47:36 +00:00
|
|
|
|
# Include sub-projects.
|
2022-02-18 15:06:16 +00:00
|
|
|
|
add_subdirectory ("vendor/glfw")
|
|
|
|
|
add_subdirectory ("vendor/glad")
|
2022-02-18 13:47:36 +00:00
|
|
|
|
add_subdirectory ("src")
|