How do I make a custom platform file for my custom compiler and get my
Cmake project to use that?
-Original Message-
From: Hendrik Sattler [mailto:p...@hendrik-sattler.de]
Sent: Thursday, July 30, 2009 11:34 PM
To: Ashwin Chandra
Cc: cmake@cmake.org
Subject: RE: [CMake] TRY_COMPILE help..
Zitat von Ashwin Chandra :
Hendrik,
Sorry about the whitespace. The example you showed me is for use of the
actual compiler during real build time. However the TRY_COMPILE MACRO is
somehow different and does not use normal CXX_FLAGS. It's almost as if
it has an internal built-in flags. I don't k
Hendrik,
Sorry about the whitespace. The example you showed me is for use of the
actual compiler during real build time. However the TRY_COMPILE MACRO is
somehow different and does not use normal CXX_FLAGS. It's almost as if
it has an internal built-in flags. I don't know how to invoke
TRY_COMPILE
Zitat von Ashwin Chandra :
I am using a custom compiler and during the initialization of CMake, the
CMakeTestCCompiler.cmake is invoked which tries to compile a simple
program. However the compile fails it is because of the flags passed to
the compiler.
For example, the command line that is g
I get this issue building VTK, ParaView and ITK on Windows. It often
happens if I haven't build for a week or so. Generally just re-running
the build again fixes everything.
To me it seems to be a Visual Studio issue not CMake.
Andrew
On Fri, Jul 31, 2009 at 5:10 AM, Bill Hoffman wrote:
> j s wr
j s wrote:
To clarify, if my dependencies are properly spelled out correctly for
all of my targets, the build order will be handled properly in Visual
Studio?
Yes, and if you are running it from the command line, you should build
the ALL_BUILD target. Then build the RUN_TESTS. Currently,
To clarify, if my dependencies are properly spelled out correctly for all of
my targets, the build order will be handled properly in Visual Studio?
Regards,
Juan
On Thu, Jul 30, 2009 at 1:47 PM, John Drescher wrote:
> On Thu, Jul 30, 2009 at 2:44 PM, j s wrote:
> > Going into the build configu
I am using a custom compiler and during the initialization of CMake, the
CMakeTestCCompiler.cmake is invoked which tries to compile a simple
program. However the compile fails it is because of the flags passed to
the compiler.
For example, the command line that is generated by CMake is:
"C
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dominik Szczerba schrieb:
> BTW do you know if it is possible to do a parallel build with nmake?
> (like -jN with GNU make)
It isn't.
A replacement tool has been developed though:
http://labs.trolltech.com/blogs/2009/03/27/speeding-up-visual-c-qt-build
On Thu, Jul 30, 2009 at 2:44 PM, j s wrote:
> Going into the build configuration and telling it to run tests, (I think the
> checkbox is RUNTESTS, but I don't have my laptop here), causes it to run
> tests as it is trying to compile the main executable for my project.
>
> The directory structure is
Going into the build configuration and telling it to run tests, (I think the
checkbox is RUNTESTS, but I don't have my laptop here), causes it to run
tests as it is trying to compile the main executable for my project.
The directory structure is:
lib1
lib2
lib3
main (location of the main() entry p
No. There is no -j flag to nmake.
On Thu, Jul 30, 2009 at 2:28 PM, Dominik Szczerba wrote:
> BTW do you know if it is possible to do a parallel build with nmake? (like
> -jN with GNU make)
> -- Dominik
>
>
> John Drescher wrote:
>
>> On Thu, Jul 30, 2009 at 2:16 PM, j s wrote:
>>
>>> I guess I wo
If something is non-deterministic then it means there is a missing
dependency somewhere...
This should work. We have many dashboards that run with parallel Visual
Studio builds and work reliably day after day. Whenever I have seen a
problem with it, there has always been a missing depedency express
I don't think so, but this article claims that by specifying multiple c++
files at the same time, the Visual C++ compiler will parallelize them:
http://stackoverflow.com/questions/601970/how-do-i-utilise-all-the-cores-for-nmake
Regards,
Juan
On Thu, Jul 30, 2009 at 1:28 PM, Dominik Szczerba wro
BTW do you know if it is possible to do a parallel build with nmake?
(like -jN with GNU make)
-- Dominik
John Drescher wrote:
On Thu, Jul 30, 2009 at 2:16 PM, j s wrote:
I guess I won't be using the parallel option in Visual Studio, then.
I have found it rare to have issues like this even on
I guess I won't be using the parallel option in Visual Studio, then. A
non-deterministic build order is not worth the risk.
Juan
On Thu, Jul 30, 2009 at 10:53 AM, John Drescher wrote:
> On Thu, Jul 30, 2009 at 11:44 AM, j s wrote:
> > By default visual studio uses 2 threads on my machine, a dua
On Thu, Jul 30, 2009 at 2:16 PM, j s wrote:
> I guess I won't be using the parallel option in Visual Studio, then.
>
I have found it rare to have issues like this even on quad core
machines but it does happen. I build on 5 or so different machines
from 2 to 4 cores.
> A
> non-deterministic build o
On Thu, Jul 30, 2009 at 11:44 AM, j s wrote:
> By default visual studio uses 2 threads on my machine, a dual core AMD.
>
> I notice when I have RUNTESTS (I can't remember) enabled, it may attempt to
> run the tests before my project is even built.
>
> If certain sub directories depend on a target i
By default visual studio uses 2 threads on my machine, a dual core AMD.
I notice when I have RUNTESTS (I can't remember) enabled, it may attempt to
run the tests before my project is even built.
If certain sub directories depend on a target in another directory already
being built, is it safe to
On Wed, Jul 29, 2009 at 01:06:44PM -0700, Nicolas Slythe (Intern) wrote:
> Why utility project are excluded from solution build on visual studio
What is a utility project? Can you build it by right-clicking that
project and explicitly choosing to build it?
> I tried to set EXCLUDE_FROM_DEFAULT_BU
On Thu, Jul 30, 2009 at 01:21:45AM +0200, reyman wrote:
> I have file extension .m and .h in my src folder, my compiler is GCC.
> When i want to compile, this is /usr/bin/c++ who launch and compile ... i
> don't understand why CMake doesn't recognize the .m file and use the C
> compilator gcc.
Hav
Hi,
I've got a project wich is in the makings of migrating to CMake - coming
along quite nicely actually.
I've managed to get it compiling and running tests, with CTest - and also
reporting to a private CDash site.
I just have one problem at present with CTest, and that is the coverage
reports
Yes this correspond to line 390 in CVS HEAD. I did not see any bugs with
commenting that line. Of course I did not do an exhaustive test...
De : cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] De la part de
Pierre-Julien Villoud
Envoyé : jeudi 30 juillet 2009 13:45
À : David Cole
Cc : c
Yes sorry, I did not precise that it was 2.6.4 source tree. Are you saying that
if I take CVS HEAD, and I compile it, I will have all the target I created in
the CodeBlocks project ?
De : David Cole [mailto:david.c...@kitware.com]
Envoyé : jeudi 30 juillet 2009 12:00
À : Pierre-Julien Villoud
Cc
That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this has
moved to line 390, but the same code is still there...
Looks like that whole else chunk should be removed. Unless somebody can say
why it's there...?
On Thu, Jul 30, 2009 at 5:41 AM, Pierre-Julien Villoud
wrote:
> Hi ev
Hi everyone,
When using CodeBlocks MinGW Makefiles Generator, the project generated does not
contain the custom targets I created.
I don't know if this is meant to be, but I would like all the targets I created
to be in the project.
So I just commented the line 201 (the "break" statement) in
c
26 matches
Mail list logo