https://github.com/Kitware/CMake
Revision 8a2977ba55367c91f2f66055ea2cc1304e1a42b1 authored by Cristian Adam on 29 September 2020, 15:24:27 UTC, committed by Brad King on 29 September 2020, 16:35:49 UTC
In commit 8d61294c3e (PCH: Mark CMake PCH source files as -x <lang>-header, 2020-09-04, v3.18.3~14^2) we removed the explicit `-x objective-c++` flag. This broke cases with custom source extensions. Restore the explicit `-x objective-c[++]` flag and put it before the `<FLAGS>` placeholder. The latter will contain the proper `-x objective-c[++]-header` value and will override the `-x objective-c[++]` value set before. Fixes: #21234
1 parent 7d4e9a3
Tip revision: 8a2977ba55367c91f2f66055ea2cc1304e1a42b1 authored by Cristian Adam on 29 September 2020, 15:24:27 UTC
OBJCXX: Fix regression for compiling cpp files as objcxx
OBJCXX: Fix regression for compiling cpp files as objcxx
Tip revision: 8a2977b
File | Mode | Size |
---|---|---|
.github | ||
.gitlab | ||
Auxiliary | ||
Help | ||
Licenses | ||
Modules | ||
Packaging | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.clang-format | -rw-r--r-- | 1.3 KB |
.clang-tidy | -rw-r--r-- | 1.1 KB |
.gitattributes | -rw-r--r-- | 1.1 KB |
.gitignore | -rw-r--r-- | 132 bytes |
.gitlab-ci.yml | -rw-r--r-- | 4.4 KB |
.hooks-config | -rw-r--r-- | 418 bytes |
CMakeCPack.cmake | -rw-r--r-- | 9.7 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 11.9 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 33.4 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CONTRIBUTING.rst | -rw-r--r-- | 3.0 KB |
CTestConfig.cmake | -rw-r--r-- | 513 bytes |
CTestCustom.cmake.in | -rw-r--r-- | 7.1 KB |
CompileFlags.cmake | -rw-r--r-- | 4.2 KB |
Copyright.txt | -rw-r--r-- | 5.2 KB |
DartConfig.cmake | -rw-r--r-- | 374 bytes |
README.rst | -rw-r--r-- | 3.9 KB |
bootstrap | -rwxr-xr-x | 53.8 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 789 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...