summaryrefslogtreecommitdiff
path: root/Modules/CMakeOBJCXXInformation.cmake
Commit message (Collapse)AuthorAgeFilesLines
* LINK_WHAT_YOU_USE feature: externalize configurationMarc Chevrier2021-07-091-0/+9
| | | | | | | | Currently, this feature is only supported on ELF platforms. So, the property LINK_WHAT_YOU_USE will be ignored for other plateforms. Moreover, flags and commands are now controled by CMake variables. Fixes: #20174
* Launchers: Support setting linker launchersBobby D Reynolds2021-05-281-0/+5
| | | | Fixes: #18316
* OBJCXX: Fix regression for compiling cpp files as objcxxCristian Adam2020-09-291-1/+1
| | | | | | | | | | | | | 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
* PCH: Mark CMake PCH source files as -x <lang>-headerCristian Adam2020-09-041-1/+1
| | | | Fixes: #21163
* Modules: Collapse consecutive whitespace in stringsDaan De Meyer2020-03-231-3/+3
|
* ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-091-0/+5
| | | | Fixes: #20178
* ObjC: Mark explicitly the language for compilationCristian Adam2019-11-061-1/+1
| | | | | | This way you can have .cpp files compiled as ObjC++. Fixes: #19926
* Languages: Add support for Objective-C++Steve Wilson2019-09-281-0/+273
Add entries in Modules and Modules/Platform to support Objective-C++ compiler determination and identification. Add Modules to check Objective-C++ compiler flags, source compilations, program checks, etc... Use OBJCXX as the designator of the language, eg: project(foo OBJCXX) Add various tests for Objective-C++ language features. Add tests to preserve C++ handling of .M and .mm files when Objective-C++ is not a configured language. Co-authored-by: Cristian Adam <cristian.adam@gmail.com>