Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GHS: try_compile() now uses GHS platform variables | Fred Baksik | 2019-01-16 | 1 | -5/+0 |
| | | | | | | | -- Forward GHS platform variables to try_compile() CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile() -- Update tests to no longer add GHS platform variables to try_compile() -- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library | ||||
* | GHS: Append ".gpj" to target name when generating build command | Fred Baksik | 2019-01-16 | 2 | -0/+39 |
-- 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 |