[Development] How to get all compile flags / definitions / include_directories of target?

Stephen Kelly stephen.kelly at kdab.com
Wed Sep 12 12:54:59 CEST 2012


On Tuesday, September 04, 2012 11:41:31 Loaden wrote:
> Hi, list!
> I want write a PrecompiledHeader.cmake to support PCH for QtCreator.
> For now, It works well use MSVC, see:
> https://codereview.qt-project.org/#change,34052
> I have some trouble with how to get GCC's compile flags / definitions /
> include_directories.

I don't know anything about precompiled headers with cmake. You might want to 
take issues like that to the cmake mailing list.

Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120912/49299429/attachment.sig>


More information about the Development mailing list