Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add CMake scripts to D3D11/D3D12 demos#808

Open
ModulePillow wants to merge 2 commits into
Immediate-Mode-UI:masterImmediate-Mode-UI/Nuklear:masterfrom
ModulePillow:IceyPillow-patch-1ModulePillow/Nuklear:IceyPillow-patch-1Copy head branch name to clipboard
Open

Add CMake scripts to D3D11/D3D12 demos#808
ModulePillow wants to merge 2 commits into
Immediate-Mode-UI:masterImmediate-Mode-UI/Nuklear:masterfrom
ModulePillow:IceyPillow-patch-1ModulePillow/Nuklear:IceyPillow-patch-1Copy head branch name to clipboard

Conversation

@ModulePillow

Copy link
Copy Markdown

This change helps other users, one command can generate a VS solution regardless of which Visual Studio IDE users have.

e.g.
cd ./demo/d3d12
cmake -S ./ -B ./cmake

@igromanru

Copy link
Copy Markdown

I don't know much about CMake. But shouldn't there be a CMakeLists.txt ?
How do I build it with Native Tools Command Prompt from VS 2022?

@ModulePillow

ModulePillow commented Feb 12, 2026

Copy link
Copy Markdown
Author

I don't know much about CMake. But shouldn't there be a CMakeLists.txt ? How do I build it with Native Tools Command Prompt from VS 2022?

VS (exactly, it's MSBuild of VS) is a build system. CMake is a management system for all build systems.

I don't know much about VS Native Command; u can create an empty VS C++ solution on the GUI, and manually put .h/.cpp into it.

That's where CMake shines; several lines of CMake scripts define a whole project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.