Re: [CMake] RVCT support

2009-09-09 Thread Darren ha
On Thu, Sep 10, 2009 at 3:16 PM, Eric Noulard wrote: > 2009/9/10 Darren ha : > > hi list!! > > > > i do like the concept of cmake. so I wanna use it as our main build > system. > > so i surveyed it and discovered there is no support for RVCT(armcc, > > armlink ...). > > > > Due to lack of organi

Re: [CMake] RVCT support

2009-09-09 Thread Eric Noulard
2009/9/10 Darren ha : > hi list!! > > i do like the concept of cmake. so I wanna use it as our main build system. > so i surveyed it  and discovered there is no support for RVCT(armcc, > armlink  ...). > > Due to lack of organized documentation, It was hard to write new toolchain > file & rules. A

Re: [CMake] Only install file if it does not exist?

2009-09-09 Thread Eric Noulard
2009/9/10 Bob Tanner : > On 2009-09-09 05:53:15 -0500, David Cole said: > >> Or just use "install(FILES" -- it already does the "if not exists, if >> newer >> than" checks... > > INSTALL ( >        FILES ${CMAKE_CURRENT_SOURCE_DIR}/sample_features >        DESTINATION etc >        RENAME features

Re: [CMake] Only install file if it does not exist?

2009-09-09 Thread Bob Tanner
On 2009-09-09 05:53:15 -0500, David Cole said: Or just use "install(FILES" -- it already does the "if not exists, if newer than" checks... INSTALL ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/sample_features DESTINATION etc RENAME features ) Using that, if "etc/features" exis

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-09 Thread Bill Hoffman
David Aldrich wrote: Hi I am new to cmake. I have installed cmake (using cmake-2.6.4-win32-x86.exe) on my Win XP platform, on which I also have Visual Studio 2005 Prof and Visual Studio 2008 Express installed. I am trying to build PLplot, whose instructions tell me to run: cmake -G "NMake

[CMake] RVCT support

2009-09-09 Thread Darren ha
hi list!! i do like the concept of cmake. so I wanna use it as our main build system. so i surveyed it and discovered there is no support for RVCT(armcc, armlink ...). Due to lack of organized documentation, It was hard to write new toolchain file & rules. If there is someone already done this

Re: [CMake] can cmake start the build?

2009-09-09 Thread Alexander Neundorf
On Wednesday 09 September 2009, Dietmar Hummel wrote: > Hi everybody! > > I searched around but could not find the solution. My question is, is there > a option in cmake to actually start the build. > If i execute cmake with --system-information it shows me in the variable > CMAKE_BUILD_TOOL the co

Re: [CMake] can cmake start the build?

2009-09-09 Thread Adolfo Rodríguez
On Wed, Sep 9, 2009 at 9:56 PM, Dietmar Hummel wrote: > Hi everybody! > > I searched around but could not find the solution. My question is, is there > a > option in cmake to actually start the build. > If i execute cmake with --system-information it shows me in the variable > CMAKE_BUILD_TOOL the

[CMake] can cmake start the build?

2009-09-09 Thread Dietmar Hummel
Hi everybody! I searched around but could not find the solution. My question is, is there a option in cmake to actually start the build. If i execute cmake with --system-information it shows me in the variable CMAKE_BUILD_TOOL the correct program to start the build. As you know this is make on

Re: [CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread John Drescher
On Wed, Sep 9, 2009 at 3:22 PM, Mike Jackson wrote: > And just to follow up, all I had to do was "Add Components" to the > already installed VC++ tools to add the "Visual C#" package and now it > looks like I am in business.. Sorry for the noise. > Actually thanks. I am not using 2008 for my CMak

Re: [CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread Mike Jackson
And just to follow up, all I had to do was "Add Components" to the already installed VC++ tools to add the "Visual C#" package and now it looks like I am in business.. Sorry for the noise. _ Mike Jackson mike.jack...@bluequar

Re: [CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread Mike Jackson
Evidently, after a bunch of google searches the problem is that the VS2008 installer does not seem to install the 32 bit cl.exe programs unless you choose to install EVERYTHING. I most likely did not select that option as all I wanted was C++ development. I didn't see the need for the VB, C# and We

Re: [CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread John Drescher
On Wed, Sep 9, 2009 at 2:52 PM, Mike Jackson wrote: > I tried the following: > >  Open the "Visual Studio 2008 Command Prompt" >  Navigate to my project. >  CMake -G "Visual Studio 9 2008" ../ > >  and I get the error that says the C compiler can not compile a simple > test program. Looking at the

[CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS

2009-09-09 Thread Mike Jackson
I tried the following: Open the "Visual Studio 2008 Command Prompt" Navigate to my project. CMake -G "Visual Studio 9 2008" ../ and I get the error that says the C compiler can not compile a simple test program. Looking at the error log it would seem that cl.exe isn't on the path anywhere.

Re: [CMake] Generated source files and dependencies(+) (Wojciech Migda)

2009-09-09 Thread Wojciech Migda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Neundorf pisze: > On Tuesday 08 September 2009, Wojciech Migda wrote: >>> Why not include it in the foo target, instead of making a new >> a_h_gen target and doing extra dependencies manually? >> >> Firstly, we have hundred of source files

Re: [CMake] Generated source files and dependencies(+) (Wojciech Migda)

2009-09-09 Thread Alexander Neundorf
On Tuesday 08 September 2009, Wojciech Migda wrote: > > Why not include it in the foo target, instead of making a new > > a_h_gen target and doing extra dependencies manually? > > Firstly, we have hundred of source files which may indirectly depend > generated source files, so we want such informat

[CMake] set CTEST_ENVIRONMENT from within CMakeLists.txt?

2009-09-09 Thread Roland Bock
Hi, I would like to set some environment variables for ctest which are set when I call make test but not when I call make foo I have read that in a ctest script, I can do this by SET (CTEST_ENVIRONMENT "foo=bar") But the same line does not seem to have any effect when I put it in my CMa

[CMake] try_compile documentation is confusing

2009-09-09 Thread Joseph Garvin
>From the try_compile docs: "In this version all files in bindir/CMakeFiles/CMakeTmp, will be cleaned automatically, for debugging a --debug-trycompile can be passed to cmake to avoid the clean. Some extra flags that can be included are, INCLUDE_DIRECTORIES, LINK_DIRECTORIES, and LINK_LIBRARIES. C

[CMake] Newbie question: cmake does not have nmake generator

2009-09-09 Thread David Aldrich
Hi I am new to cmake. I have installed cmake (using cmake-2.6.4-win32-x86.exe) on my Win XP platform, on which I also have Visual Studio 2005 Prof and Visual Studio 2008 Express installed. I am trying to build PLplot, whose instructions tell me to run: cmake -G "NMake Makefiles" -DCMAKE_INSTAL

Re: [CMake] macosx fix bundle problems

2009-09-09 Thread Clinton Stimpson
To install Qt plugins you can do something like the following. You can tweak the regex to pick which plugins you want. # include Qt plugins install(DIRECTORY ${QT_PLUGINS_DIR} DESTINATION ${CMAKE_INSTALL_BINARY_DIR} COMPONENT Runtime REGEX "(.debug|d4.dll|designer|.exp|.

Re: [CMake] macosx fix bundle problems

2009-09-09 Thread Petr Vanek
yup. The reaso was really in splitted CMakeListst.txt files. It looks like app is "fixed" now - from otool -L point of view. Of course it required more tweaking - add and empty qt.conf to prevent duplication of libs/frameworks etc. But it's much more clearer now. BTW is there any script/tem

[CMake] Newbie question: cmake does not have nmake generator

2009-09-09 Thread David Aldrich
Hi I am new to cmake. I have installed cmake (using cmake-2.6.4-win32-x86.exe) on my Win XP platform, on which I also have Visual Studio 2005 Prof and Visual Studio 2008 Express installed. I am trying to build PLplot, whose instructions tell me to run: cmake -G "NMake Makefiles" -DCMAKE_INSTAL

Re: [CMake] Generated source files and dependencies(+) (Wojciech Migda)

2009-09-09 Thread Clinton Stimpson
On 09/09/2009 01:15 AM, Wojciech Migda wrote: Użytkownik "Clinton Stimpson" napisał(a): From: "Clinton Stimpson" Subject: Re: [CMake] Generated source files and dependencies(+) (Wojciech Migda) To: cmake@cmake.org On Tuesday 08 September 2009 02:14:45 pm Wojciech Migda wrote: Why not includ

Re: [CMake] Patch for FindBoost.cmake

2009-09-09 Thread Joseph Garvin
I must have specified the order of files backwards when I made the patch, the issue is that *currently* in 2.6.4, 2 hyphens happen, my patch is meant to remove hyphens. Looking at trunk though it appears the problem was already found. On Tue, Sep 8, 2009 at 3:34 PM, Andreas Pakulat wrote: > On 0

Re: [CMake] Only install file if it does not exist?

2009-09-09 Thread David Cole
Or just use "install(FILES" -- it already does the "if not exists, if newer than" checks... Actually, what you have now is a strange combination of checking for the file's existence at "CMake configure" time, but then running a custom command at "make" time -- both of which happen before "make inst

Re: [CMake] Generated source files and dependencies(+) (Wojciech Migda)

2009-09-09 Thread Wojciech Migda
Użytkownik "Clinton Stimpson" napisał(a): > From: "Clinton Stimpson" > Subject: Re: [CMake] Generated source files and dependencies(+) (Wojciech Migda) > To: cmake@cmake.org > > On Tuesday 08 September 2009 02:14:45 pm Wojciech Migda wrote: > > > Why not include it in the foo target, instead of

Re: [CMake] FindPythonLibs should set PYTHON_INCLUDE_DIR instead of PYTHON_INCLUDE_PATH

2009-09-09 Thread Mathieu Malaterre
On Wed, Sep 9, 2009 at 10:08 AM, Marcel Loose wrote: > On Wed, 2009-09-09 at 09:26 +0200, Marcel Loose wrote: >> On Mon, 2009-09-07 at 22:01 +0200, Alexander Neundorf wrote: >> > On Monday 07 September 2009, Marcel Loose wrote: >> > > Hi all, >> > > >> > > In fact the subject line says it all. To b

Re: [CMake] FindPythonLibs should set PYTHON_INCLUDE_DIR instead of PYTHON_INCLUDE_PATH

2009-09-09 Thread Marcel Loose
On Wed, 2009-09-09 at 09:26 +0200, Marcel Loose wrote: > On Mon, 2009-09-07 at 22:01 +0200, Alexander Neundorf wrote: > > On Monday 07 September 2009, Marcel Loose wrote: > > > Hi all, > > > > > > In fact the subject line says it all. To be compliant with the naming > > > conventions proposed in th

Re: [CMake] FindPythonLibs should set PYTHON_INCLUDE_DIR instead of PYTHON_INCLUDE_PATH

2009-09-09 Thread Marcel Loose
On Mon, 2009-09-07 at 22:01 +0200, Alexander Neundorf wrote: > On Monday 07 September 2009, Marcel Loose wrote: > > Hi all, > > > > In fact the subject line says it all. To be compliant with the naming > > conventions proposed in the Modules/readme.txt file, FindPythonLibs > > should set PYTHON_INC

Re: [CMake] Only install file if it does not exist?

2009-09-09 Thread Eric Noulard
2009/9/9 Bob Tanner : > I must be missing something simple? > > During "make install" I only want to install a set of files if the do not > exist in destination. > > MACRO (COPY_IF_DOES_NOT_EXIST SOURCE DESTINATION) >        ADD_CUSTOM_COMMAND ( >                TARGET COPY >                IF (NOT