https://github.com/lightnet/cmakewin64directximgui
window 10 64 bit directx 9-12 tested with imgui and cmake build.
https://github.com/lightnet/cmakewin64directximgui
cmake cpp directx imgui
Last synced: about 1 year ago
JSON representation
window 10 64 bit directx 9-12 tested with imgui and cmake build.
- Host: GitHub
- URL: https://github.com/lightnet/cmakewin64directximgui
- Owner: Lightnet
- Created: 2021-04-17T23:06:14.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-17T23:08:45.000Z (about 5 years ago)
- Last Synced: 2024-12-30T08:41:57.022Z (over 1 year ago)
- Topics: cmake, cpp, directx, imgui
- Language: C++
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cmakewin32directxsdkimgui
# Packages:
* imgui 1.82 https://github.com/ocornut/imgui
* cmake 3.20
* Viusal Studio 2019
* Directx SDK
* Windows Kits 10
# Information:
Test build for Directx 9-12 in win 64 bit window 10.
Directx 9-12 work on imgui build.
# Directx checks:
* Win 64 Directx 9 > pass
* Win 64 Directx 10 > pass
* Win 64 Directx 11 > pass
* Win 64 Directx 12 > pass
# Build:
```bar
mkdir build
:: Build from that directory so the build files are in one place
cd build
:: config build from CMakeLists.txt
cmake ..
:: build binary app
cmake --build .
```
# Notes:
* If Viusal Studio 2019 with Directx SDK that lib are loaded without much need config. As long you pass correct name of lib name in target_link_libraries().
# Credits:
* https://stackoverflow.com/questions/48955632/finding-direct3d-12-using-cmake
* https://stackoverflow.com/questions/64789975/finding-directx12-libraries-with-cmake-and-mingw
* https://gist.github.com/rokups/f771217b2d530d170db5cb1e08e9a8f4