• Fred Baksik's avatar
    GHS: Append ".gpj" to target name when generating build command · 1a66acde
    Fred Baksik authored
    -- Add test demonstrating issue
    -- In the case of executable targets the target name is usually the same as used in "-o filename"
       But for static libraries the target name is usually "-o libname.a"
       "gbuild.exe target" will build whatever target matches against even the output from the compiler or linker
       But the targets in "cmake --build . --target name" should be target names in CMakeLists.txt not the actual filenames
       So change the "name" to "name.gpj" so it matches the target name in CMakeLists.txt.
    Fixes #15975
test.c 32 Bytes