Re: [CMake] List of object files

2008-07-14 Thread zia
I want swap MSVC linker to my linker(e.g. RTOS), but I don't know as to make this. And I have an idea.I'll run EXEC_PROGRAM command with parameter. Where I run EXEC_PROGRAM("my linker" objparam) p.s. I set CMake variable, but it is not work. Set(CMAKE_CXX_LINK_EXECUTABLE) Set(CMAKE_C_LINK_EXECU

[CMake] Survey: Are you using the Eclipse CDT Generator?

2008-07-14 Thread Miguel A. Figueroa-Villanueva
Hello, This is just a simple survey to get an idea if there are many people successfully using the Eclipse CDT generator that has been out there for a while. Not many bugs appear to be surfacing, so either it's in pretty good shape or nobody is using it... ;) Please, reply directly to me to. I'll

Re: [CMake] List of object files

2008-07-14 Thread Alexander Neundorf
On Monday 14 July 2008, [EMAIL PROTECTED] wrote: > How can I get a list of object files in CMake variable? AFAIK this is currently not possible. What do you want to do ? Alex ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/c

[CMake] cmake 2.6.1 RC 8

2008-07-14 Thread Bill Hoffman
I have a release candidate (RC 8) for 2.6.1 ready for CMake. If I do not get any complaints about this RC, it will become 2.6.1. Thanks. The files can be found here: http://www.cmake.org/files/v2.6/*RC-8* The changes from 2.6.0 are as follows: Changes in CMake 2.6.1 RC 8 - Fix build problem

Re: [CMake] Problem linking to shared library (inside project) after upgrade to cmake 2.6

2008-07-14 Thread Yogesh Marwaha
...and it turns out that I needed something like KDE_EXPORT for exporting(?) the symbols in the shared library. So the whole problem was caused by ...still not sure... but certainly looks not to be caused by cmake. It just occured to me, concentrating on the 't" stuff, that I should see the result

Re: [CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

2008-07-14 Thread Sean McBride
On 7/14/08 4:44 PM, Carminati Federico said: >I would like to use the followig setting on the Mac > > Set(CMAKE_CXX_LINK_EXECUTABLE > "export MACOSX_DEPLOYMENT_TARGET=${MACOSX_MAJOR}.${MACOSX_MINOR}; >unset LD_PREBIND ; ${CMAKE_CXX_LINK_EXECUTABLE}") > >But unfortunately it does not se

Re: [CMake] Mysterious build error that seems to have been slipstreamed into CMake 2.6

2008-07-14 Thread David Cole
CMake-2-6 is a branch tag, not a release tag. CMake-2-6-0 is the release tag. Changes are being committed to CMake-2-6 in preparation for the upcoming 2.6.1 release On Mon, Jul 14, 2008 at 11:54 AM, kent williams <[EMAIL PROTECTED]> wrote: > By the way the problem is fixed by changing > C

Re: [CMake] Mysterious build error that seems to have been slipstreamed into CMake 2.6

2008-07-14 Thread kent williams
By the way the problem is fixed by changing CMake/Source/CMakeLists.txt to build the file that defines GetInstalledSizeInKBytes. *** CMakeLists.txt 14 Jul 2008 10:36:50 -0500 1.397.2.2 --- CMakeLists.txt 14 Jul 2008 10:52:08 -0500 *** *** 348,353 --- 348,354 -

[CMake] Mysterious build error that seems to have been slipstreamed into CMake 2.6

2008-07-14 Thread kent williams
We have an application based on the Slicer3 build. The Slicer3 build downloads and builds CMake. We currently grab CMake with this command cvs -q -d :pserver:[EMAIL PROTECTED]:/cvsroot/CMake checkout -r CMake-2-6 CMake If I understand that correctly we're asking for the release tag of 2.6. But u

[CMake] Problem on the Mac with setting CMAKE_CXX_LINK_EXECUTABLE

2008-07-14 Thread Carminati Federico
Dear All, I would like to use the followig setting on the Mac Set(CMAKE_CXX_LINK_EXECUTABLE "export MACOSX_DEPLOYMENT_TARGET=${MACOSX_MAJOR}.${MACOSX_MINOR}; unset LD_PREBIND ; ${CMAKE_CXX_LINK_EXECUTABLE}") But unfortunately it does not seem to work. The link command fails with Err

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Steven Van Ingelgem
BTW, I updated the sources in https://datadraw.svn.sourceforge.net/svnroot/datadraw/trunk. TIA 2008/7/14 Steven Van Ingelgem <[EMAIL PROTECTED]>: > Yes it does > > 2008/7/14 Bill Hoffman <[EMAIL PROTECTED]>: > >> Steven Van Ingelgem wrote: >> >> There was no error generated because there was n

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Steven Van Ingelgem
Yes it does 2008/7/14 Bill Hoffman <[EMAIL PROTECTED]>: > Steven Van Ingelgem wrote: > >> There was no error generated because there was no real error ;-). Please >> see my second mail, in that one I investigated it a little more. >> >> > I did see your second email. It is looking for those fil

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Bill Hoffman
Steven Van Ingelgem wrote: There was no error generated because there was no real error ;-). Please see my second mail, in that one I investigated it a little more. I did see your second email. It is looking for those files in the build tree because they are marked as generated files. Do

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Steven Van Ingelgem
There was no error generated because there was no real error ;-). Please see my second mail, in that one I investigated it a little more. 2008/7/14 Bill Hoffman <[EMAIL PROTECTED]>: > Steven Van Ingelgem wrote: > >> Hi all, >> >> >> I am trying to convert "datadraw" into a CMake project, but I'm

Re: [CMake] Problem linking to shared library (inside project) after upgrade to cmake 2.6

2008-07-14 Thread Bill Hoffman
Yogesh Marwaha wrote: 2008/7/14 Bill Hoffman <[EMAIL PROTECTED]>: OK, so this looks like some sort of moc issue. Are you running moc on the header? You might want to run nm on all the .o files and find out where the little "t" stuff is located. Could it be that you have more than one file cal

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Bill Hoffman
Steven Van Ingelgem wrote: I investigated this a little more and I think this is a bug in CMake: [ 21%] [BISON][dvParse] Building parser with bison 2.1 cd C:\TEMP\datadraw\src && "C:\Program Files\GnuWin32\bin\bison.exe" -l -d -p dv -b dv -d -o dvparse.c dvparse.y *==> this is ok* "C:\Progra

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Steven Van Ingelgem
I investigated this a little more and I think this is a bug in CMake: [ 21%] [BISON][dvParse] Building parser with bison 2.1 cd C:\TEMP\datadraw\src && "C:\Program Files\GnuWin32\bin\bison.exe" -l -d -p dv -b dv -d -o dvparse.c dvparse.y *==> this is ok* "C:\Program Files\CMake 2.7\bin\cmake.exe

Re: [CMake] add all files of a directory

2008-07-14 Thread Adrien Saladin
On Mon, Jul 14, 2008 at 2:07 PM, Gerrick Bivins <[EMAIL PROTECTED]> wrote: > Hi Adrien, > I think you can use Cmake's GLOB to get do this, something like: > FILE (GLOB MYFILES RELATIVE Pybindings *.cxx ) > > MYFILES should be a variable with all the *.cxx files in Pybindings. > Gerrick > Hi Gerric

Re: [CMake] try_compile: more verbose format wanted

2008-07-14 Thread Bill Hoffman
Steven Van Ingelgem wrote: Hi all, I am trying to convert "datadraw" into a CMake project, but I'm running against this problem: C:\TEMP\datadraw>cmake . -G "MinGW Makefiles" -- Building datadraw... CMake Error at cmake/prebuilt.cmake:41 (MESSAGE): datadraw failed to build. This is a nee

[CMake] try_compile: more verbose format wanted

2008-07-14 Thread Steven Van Ingelgem
Hi all, I am trying to convert "datadraw" into a CMake project, but I'm running against this problem: C:\TEMP\datadraw>cmake . -G "MinGW Makefiles" -- Building datadraw... CMake Error at cmake/prebuilt.cmake:41 (MESSAGE): datadraw failed to build. This is a needed file for the database pre

Re: [CMake] add all files of a directory

2008-07-14 Thread Gerrick Bivins
Hi Adrien, I think you can use Cmake's GLOB to get do this, something like: FILE (GLOB MYFILES RELATIVE Pybindings *.cxx ) MYFILES should be a variable with all the *.cxx files in Pybindings. Gerrick On 7/14/08 5:23 AM, "Adrien Saladin" <[EMAIL PROTECTED]> wrote: > Hi list, > > I'm trying cmak

[CMake] add all files of a directory

2008-07-14 Thread Adrien Saladin
Hi list, I'm trying cmake as a replacement of our current build system. A minimal CMakeLists.txt already works for the basic features of our C++/fortran library. However, some C++ source files are generated from an external command. The names of the generated files cannot be easily guessed, but

[CMake] List of object files

2008-07-14 Thread zia
How can I get a list of object files in CMake variable? ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake