Skip to content

Missing "NMake Makefiles" support #239

@gvanem

Description

@gvanem

Trying to build with cmake -G "NMake Makefiles" .. gave an error in prj/NAppGenerators.cmake:

CMake Error at prj/NAppGenerators.cmake:31 (message):
  Unsuported generator: NMake Makefiles

But after adding this:

--- a/prj/NAppGenerators.cmake 2025-09-12 07:13:49
+++ b/prj/NAppGenerators.cmake 2025-09-13 10:34:46
@@ -20,6 +20,9 @@
     elseif(CMAKE_GENERATOR MATCHES "MSYS Makefiles")
         set(${_ret} False PARENT_SCOPE)

+    elseif(CMAKE_GENERATOR MATCHES "NMake Makefiles")
+        set(${_ret} False PARENT_SCOPE)
+
     elseif(CMAKE_GENERATOR MATCHES "Unix Makefiles")
         set(${_ret} False PARENT_SCOPE)

it works fine with NMake too. But what does PARENT_SCOPE mean?

Metadata

Metadata

Assignees

Labels

build-systemIssue related with CMake or compilers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions