Using the add_subdirectory function in cmake to include a project using a precompiled header will work with VS/MSBuild generators, but the NMake generator will not detect its output binaries and will always do a complete rebuild.
Rebuilding does not happen when you disable precompiled headers.
Maybe this is a problem with the NMake generator itself?
Using the
add_subdirectoryfunction in cmake to include a project using a precompiled header will work with VS/MSBuild generators, but the NMake generator will not detect its output binaries and will always do a complete rebuild.Rebuilding does not happen when you disable precompiled headers.
Maybe this is a problem with the NMake generator itself?