mirror of
https://github.com/orange-cpp/omath.git
synced 2026-05-06 22:03:27 +00:00
added opengl hook
This commit is contained in:
13
examples/example_opengl_hook/CMakeLists.txt
Normal file
13
examples/example_opengl_hook/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
project(example_opengl_hook)
|
||||
|
||||
add_library(${PROJECT_NAME} MODULE dllmain.cpp)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
CXX_STANDARD 23
|
||||
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>"
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/out/${CMAKE_BUILD_TYPE}"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/out/${CMAKE_BUILD_TYPE}"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/out/${CMAKE_BUILD_TYPE}")
|
||||
|
||||
find_package(imgui CONFIG REQUIRED)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE omath::omath imgui::imgui opengl32 gdi32)
|
||||
Reference in New Issue
Block a user