-
-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor about imgui_platform (#945)
Refactor about imgui_platform
- Loading branch information
Showing
18 changed files
with
40 additions
and
3,749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
cmake_minimum_required(VERSION 3.15) | ||
project(imgui_platform) | ||
|
||
set(srcs | ||
imgui_impl_glfw.cpp | ||
imgui_impl_glfw.h | ||
imgui_impl_opengl3.cpp | ||
imgui_impl_opengl3.h | ||
imgui_impl_opengl3_loader.h) | ||
|
||
if (WIN32) | ||
|
||
list(APPEND srcs | ||
imgui_impl_dx11.cpp | ||
imgui_impl_dx11.h | ||
) | ||
|
||
|
||
endif() | ||
|
||
add_library(${PROJECT_NAME} STATIC ${srcs}) | ||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE imgui) | ||
target_include_directories( | ||
${PROJECT_NAME} | ||
PRIVATE | ||
${EFK_THIRDPARTY_INCLUDES} | ||
) | ||
|
||
add_dependencies( | ||
${PROJECT_NAME} | ||
ExternalProject_glfw) | ||
|
||
set_target_properties (${PROJECT_NAME} PROPERTIES FOLDER Thirdparty) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
729 changes: 0 additions & 729 deletions
729
Dev/Cpp/Viewer/3rdParty/imgui_platform/imgui_impl_dx11.cpp
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1,164 changes: 0 additions & 1,164 deletions
1,164
Dev/Cpp/Viewer/3rdParty/imgui_platform/imgui_impl_glfw.cpp
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.