镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add CMake build support and remove NMake/vc/.sln - #390

Open
jpr42 wants to merge 1 commit into
microsoft:mainfrom
jpr42:cmake-core-port
Open

jpr42 wants to merge 1 commit into
microsoft:mainfrom
jpr42:cmake-core-port

Conversation

@jpr42

@jpr42 jpr42 commented Aug 17, 2026 •

Copy link
Copy Markdown

Replaces the NMake Makefiles and vc/Detours.sln with a single CMake
build covering the library, unit/integration tests, and every sample
NMake built (opengl excluded, as NMake never built it either).
find_package(Detours) is supported and tested against a real staged
install, not just an in-tree build.

.github/workflows/cmake.yml replaces main.yml's NMake-driven CI with a
matrix across VS2022/VS2026, Ninja, x86/x64, Debug/Release, plus a
real-hardware ARM64EC job, and keeps CodeQL coverage.

NMake and the VS project are removed outright now that CMake has full
parity, per the maintainer's own note that CMake would obsolete both:
#48 (comment)

Successor to #48

@jpr42
jpr42 force-pushed the cmake-core-port branch 9 times, most recently from 0848680 to f840ee3 Compare August 26, 2026 01:27
@jpr42
jpr42 marked this pull request as draft August 26, 2026 03:07
@jpr42
jpr42 force-pushed the cmake-core-port branch 2 times, most recently from 46c43db to c53a21c Compare August 26, 2026 03:58
Replaces the NMake Makefiles and vc/Detours.sln with a single CMake
build covering the library, unit/integration tests, and every sample
NMake built (opengl excluded, as NMake never built it either).
find_package(Detours) is supported and tested against a real staged
install, not just an in-tree build.

.github/workflows/cmake.yml replaces main.yml's NMake-driven CI with a
matrix across VS2022/VS2026, Ninja, x86/x64, Debug/Release, plus a
real-hardware ARM64EC job, and keeps CodeQL coverage.

NMake and the VS project are removed outright now that CMake has full
parity, per the maintainer's own note that CMake would obsolete both:
microsoft#48 (comment)

Successor to microsoft#48
@jpr42
jpr42 marked this pull request as ready for review August 26, 2026 04:21
@jpr42 jpr42 changed the title Add CMake build support Add CMake build support and remove NMake/vc/.sln Aug 26, 2026
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.

1 participant