Hello All,
OS X 10.8.1
CMAKE 2.8.9
Apple clang version 4.0 (tags/Apple/clang-421.10.60) (based on LLVM 3.1svn)
I found: http://vtk.org/Wiki/CMake_FAQ#Does_CMake_support_precompiled_headers.3F
But I am not seeing how I would specify/use a pre-compiled header in
my CMakeLists.txt file.
Can anyone
On 03/14/2011 05:58 AM, Paulo Silva wrote:
> Hi,
>
> if I do
>
> set(PCHDIR ../include.pch)
> add_precompiled_header( ${PROJECT_NAME} ${PCHDIR}/pch.hpp )
>
> an extra ../ is added to PCHDIR. Isn't this a bug.
> However if I do
> set(PCHDIR ../../include.pch)
> or anything else nothing gets added
Hi,
if I do
set(PCHDIR ../include.pch)
add_precompiled_header( ${PROJECT_NAME} ${PCHDIR}/pch.hpp )
an extra ../ is added to PCHDIR. Isn't this a bug.
However if I do
set(PCHDIR ../../include.pch)
or anything else nothing gets added.
This might be a feature but for me it's working like a bug.
S
Hi!
I'm (once again) struggling with the creation of precompiled headers in
conjunction with gcc and Qt on the Apple platform.
When creating my precompiled header I use a code section based on
"PCHSupport_26.cmake" to extract the compile flags as follows:
--
STRING(TOUPPER "CMAKE_CXX_FLAG
Hi!
I'm (once again) struggling with the creation of precompiled headers in
conjunction with gcc and Qt on the Apple platform.
When creating my precompiled header I use a code section based on
"PCHSupport_26.cmake" to extract the compile flags as follows:
--
STRING(TOUPPER "CMAKE_CXX_FLAG
Hi John,
that's easy:
set_target_properties(
executable
PROPERTIES
XCODE_ATTRIBUTE_GCC_PREFIX_HEADER "path/stdwx.h"
XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER "YES"
)
stdwx.h must include all headers you want to have precompiled and must
also be included by the actual source file.
HTH,
Hi there
Is there a way to set up precompiled headers for Mac OS X (10.5 and
10.6) using CMake? I've seen some doco on how its done for Win32, but
none for the Mac system yet.
Any help appreciated.
Thanks,
--
John Clayton
___
Powered by www.kitw
On Mon, Jun 8, 2009 at 11:12 AM, David Cole wrote:
> On Mon, Jun 8, 2009 at 11:17 AM, John Drescher wrote:
>
>> >> I've been reading this newsgroup for a while and I notice that most
>> >> of the people complain that they miss some feature on Windows, but
>> >> completely forget that there are ot
On Mon, Jun 8, 2009 at 12:08 PM, John Drescher wrote:
> >>> After installing the macro I presented in my first reply a month ago
> >>> this has saved me several hours of compile time total on my main
> >>> project. However the recent addition of a velociraptor has reduced
> >>> this need since th
>>> After installing the macro I presented in my first reply a month ago
>>> this has saved me several hours of compile time total on my main
>>> project. However the recent addition of a velociraptor has reduced
>>> this need since the compile operation is now cpu bound instead of io
>>> bound.
>>
On Mon, Jun 8, 2009 at 11:17 AM, John Drescher wrote:
> >> I've been reading this newsgroup for a while and I notice that most
> >> of the people complain that they miss some feature on Windows, but
> >> completely forget that there are other cool OSes out there and CMake
> >> stands for Crosspla
>> I've been reading this newsgroup for a while and I notice that most
>> of the people complain that they miss some feature on Windows, but
>> completely forget that there are other cool OSes out there and CMake
>> stands for Crossplatform Make. This means that a feature must work on all
>> platfo
On Mon, Jun 8, 2009 at 9:11 AM, Denis Scherbakov wrote:
>
> > Apart from every compiler making this different (i. e.
> > different
> > parameters for each compilers), what are the difficulties
> > you see for
> > making this a first-class feature? My Windows coworkers
> > demand this
> > feature
> Apart from every compiler making this different (i. e.
> different
> parameters for each compilers), what are the difficulties
> you see for
> making this a first-class feature? My Windows coworkers
> demand this
> feature and I was thinking in implementing when I had a few
> spare time
> at wor
Pau Garcia i Quiles wrote:
Apart from every compiler making this different (i. e. different
parameters for each compilers), what are the difficulties you see for
making this a first-class feature?
It's not the different flags for each compiler that makes it hard.
We already do that for other fe
On Mon, Jun 8, 2009 at 8:18 AM, Pau Garcia i Quiles wrote:
>
>
> Apart from every compiler making this different (i. e. different
> parameters for each compilers), what are the difficulties you see for
> making this a first-class feature? My Windows coworkers demand this
> feature and I was thinkin
On Mon, Jun 8, 2009 at 2:48 PM, Brad King wrote:
> John Drescher wrote:
>>>
>>> Thanks for your help. Do you (or anyone else) know if there are any plans
>>> to
>>> make a dedicated function for this so it is cleaner and portable?
>>
>> http://www.vtk.org/Bug/view.php?id=1260
>
> I just added a FAQ
John Drescher wrote:
Thanks for your help. Do you (or anyone else) know if there are any plans to
make a dedicated function for this so it is cleaner and portable?
http://www.vtk.org/Bug/view.php?id=1260
I just added a FAQ entry:
http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_preco
> Thanks for your help. Do you (or anyone else) know if there are any plans to
> make a dedicated function for this so it is cleaner and portable?
http://www.vtk.org/Bug/view.php?id=1260
--
John M. Drescher
___
Powered by www.kitware.com
Visit other
On Sat, Jun 6, 2009 at 11:22 PM, John Drescher wrote:
> Here is what I do for Vs2005 builds and CMake 2.6.4
>
> I put this in the main CMakeLists.txt before any
> add_subdirectory(Libraries)
>
>
>
> You need to then create
>
> laGUIPCH.h
> laGUIPCH.cxx
>
> the .cxx file contains any headers that
On Sun, Jun 7, 2009 at 12:07 AM, Robert Dailey wrote:
> Hey guys,
> First of all I just want to let you guys know that I DID find this in my
> search:
> http://www.cmake.org/pipermail/cmake/2008-May/021483.html
> However, I do not feel as if a direct answer was given. Besides, that was
> over a yea
Hey guys,
First of all I just want to let you guys know that I DID find this in my
search:
http://www.cmake.org/pipermail/cmake/2008-May/021483.html
However, I do not feel as if a direct answer was given. Besides, that was
over a year ago and I'm hoping some new developments have taken place. Is
t
2009/3/17 :
> I looked around for precompiled header support and couldn't figure out
> how/if it works for intel compilers.
> The links such as: http://www.mail-archive.com/cmake@cmake.org/msg05456.html
> appear to be pretty MSVC centric and I don't think the stdafx.cpp approach
> will work on int
I looked around for precompiled header support and couldn't figure out
how/if it works for intel compilers.
The links such as:
http://www.mail-archive.com/cmake@cmake.org/msg05456.html appear to be
pretty MSVC centric and I don't think the stdafx.cpp approach will work on
intel.
If there i
Yves Martelli wrote:
Sorry to ask again, but speeding up my build would really help me and my
colleagues in the context of a continuous build...
Does CMake support precompiled headers when generating Makefiles?
Not directly, but it can be done. It is very compiler/platform
specific... I k
2008/11/11 Yves Martelli <[EMAIL PROTECTED]>:
> Sorry to ask again, but speeding up my build would really help me and my
> colleagues in the context of a continuous build...
>
> Does CMake support precompiled headers when generating Makefiles?
Not in mainstream CMake but there is [at least] one b
Sorry to ask again, but speeding up my build would really help me and my
colleagues in the context of a continuous build...
Does CMake support precompiled headers when generating Makefiles?
From: Yves Martelli
Sent: 04 November 2008 17:54
To: cmake@cmake.
Hi,
I tried looking for precompiled header support in CMake for Makefiles, but the
information on the net is quite sparse and it is not easy to see if it is up to
date.
I saw that gcc supports precompiled headers and that you just have to give the
header to it with an output file.
So the questi
Anders Backman escreveu:
Ok, that make sense of course...Just read the 2.6 documentation.
Is there anyone that have tried to use this script in visualstudio
lately with good result?
FYI, this script 'once' worked with VS, but I must have made some
changes related to gcc precompiled-headers th
Ok, that make sense of course...Just read the 2.6 documentation.
Is there anyone that have tried to use this script in visualstudio
lately with good result?
I get quite a few very confusing errors and warnings related to this:
2>-- Build started: Project: agx_rendering, Configuration: Debug
Anders Backman escreveu:
Hi and thanks for the tip...
So, what version of cmake are you using?
Or are the SOURCES property a platform dependent property?
Sorry, I should have mentioned that this is for cmake-2.6, which
implements the SOURCES property.
Best regards and good luck,
rod
___
Hi and thanks for the tip...
However, when I try this (Im using VS2008, CMake 2.4-patch 8) I get
some problems.
I have nailed this down to the following command:
#usual add_executable etc... works just fine!
add_executable(rendering file1.cpp ...)
.
.
.
get_target_property(OBJECT_FILES renderi
Anders Backman escreveu:
So is there are portable way of handling this in cmake?
I've been using the attached script and it has been working nicely for
my needs.
The usage is:
include(PCHSupport)
add_executable(test test.cpp pch.h)
ADD_PRECOMPILED_HEADER(test pch.h)
I'm using it with gcc
Hi all.
Im kind of confused whether cmake does support pre-compiled headers
natively or not...
I have googled this and found some email around 2007 where various
suggestions was proposed, but I cant see it in the most recent
versions?
So is there are portable way of handling this in cmake?
Chee
> Has anyone had any luck with precompiled
headers on visual studio 2005?> > For Visual Studio 6, i added
additional parameters to each compiled > file. I then told one specific
file to build the precompiled headers. > This worked in vs6, but in 2005
the ide must have the actual projects > s
Has anyone had any luck with precompiled headers on visual studio 2005?
For Visual Studio 6, i added additional parameters to each compiled
file. I then told one specific file to build the precompiled headers.
This worked in vs6, but in 2005 the ide must have the actual projects
setup for prec
36 matches
Mail list logo