Vincent van Ravesteijn
2014-04-18 14:11:09 UTC
Objective-C compililation support with cmake and C++11
Sun, 9 Mar 2014 07:29:27 +0000 (08:29 +0100)
Fri, 21 Mar 2014 01:18:09 +0000 (02:18 +0100)
commit f115a12bf6c83de566e551dbed7735f894327017
tree e963b5ca7d55ee52466580068f84d7c71c7776ec tree | snapshot
parent e83606c98a3ba2b1bdc5134e37f0f841d1b9a222 commit | diff
Objective-C compililation support with cmake and C++11
This fixes an issue whe compiling with C++11 flags on: The
objective-C clang compiler produces an error. This patch waits
avoid including specific C++ flags and uses LYX_CPP_SPECIFIC_FLAGS
to store the confliciting flags (for the moment, just C++11).
Isn't the attached patch much nicer thanSun, 9 Mar 2014 07:29:27 +0000 (08:29 +0100)
Fri, 21 Mar 2014 01:18:09 +0000 (02:18 +0100)
commit f115a12bf6c83de566e551dbed7735f894327017
tree e963b5ca7d55ee52466580068f84d7c71c7776ec tree | snapshot
parent e83606c98a3ba2b1bdc5134e37f0f841d1b9a222 commit | diff
Objective-C compililation support with cmake and C++11
This fixes an issue whe compiling with C++11 flags on: The
objective-C clang compiler produces an error. This patch waits
avoid including specific C++ flags and uses LYX_CPP_SPECIFIC_FLAGS
to store the confliciting flags (for the moment, just C++11).
http://git.lyx.org/?p=lyx.git;a=commitdiff;h=f115a12bf6c83de566e551dbed7735f894327017
The previous commit is postponing to add the --std=gnucxx11 compiler
option in a fragile way until all objective c files were processed.
Instead, can't it be done like this, and only override the option for
the few objective-c files ?
Vincent