Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add example cmake file for win32 directx11 backend #8177

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jalius
Copy link

@jalius jalius commented Nov 23, 2024

I want to add a CMakeLists.txt file to the examples folder. Currently there is only a Visual Studio build script there.

This is a very minimal CMake configuration to build the example exe. I think it provides a good starting point for new people.

I tested it with a minimal installation of MSYS2, CMake, Ninja, and GCC. It should also work with other generators.

Let me know any thoughts.

Steps to build:
$ cd example_win32_directx11
$ mkdir build && cd build
$ cmake .. (Generator flag optional: eg -G 'MSYS Makefiles')
$ make OR ninja OR .sln (depends on your cmake-generator)

@jalius
Copy link
Author

jalius commented Nov 23, 2024

P.S. I have been using this project for a few months and I really like it. That's why I'm here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants