Re: [CMake] Converting from autoconf to cmake problem

2010-10-29 Thread Aaron Turner
On Fri, Oct 29, 2010 at 8:45 PM, mina adel wrote: > > > Hi All > > I am converting a code from configure.ac to cmake. > Can any one please advice me about what is the corresponding macro for the > following. I have searched the cmake wiki and documentation and didnot find > any. > > AC_HEADER_STDB

[CMake] call already made makefile

2010-10-29 Thread mina adel
Hi All I have an open source code that I use in my project. This open source code already has Makefile coded for it. I want to use cmake so that before it compile my project it first call the cmake of these open source code, which will compile it to .la library. Then using this library, it co

[CMake] Converting from autoconf to cmake problem

2010-10-29 Thread mina adel
Hi All I am converting a code from configure.ac to cmake. Can any one please advice me about what is the corresponding macro for the following. I have searched the cmake wiki and documentation and didnot find any. AC_HEADER_STDBOOL AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_STRUCT_TM # Chec

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-10-29 Thread John Drescher
On Fri, Oct 29, 2010 at 8:17 PM, Karl Wallner wrote: > Am 30.10.2010 00:45, schrieb John Drescher: >> I know its probably too late for 2.8.3 but can someone please look at >> the following bug: >> http://cmake.org/Bug/view.php?id=11206 >> >> This affects me on every single (in house) release of my

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-10-29 Thread John Drescher
>> I know its probably too late for 2.8.3 but can someone please look at >> the following bug: >> http://cmake.org/Bug/view.php?id=11206 >> >> This affects me on every single (in house) release of my application. > > A workaround is to do a monolithic install. > SET(CPACK_MONOLITHIC_INSTALL 1) > ..

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-10-29 Thread Karl Wallner
Am 30.10.2010 00:45, schrieb John Drescher: > I know its probably too late for 2.8.3 but can someone please look at > the following bug: > http://cmake.org/Bug/view.php?id=11206 > > This affects me on every single (in house) release of my application. > Same for this one: http://www.cmake.org/Bu

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-10-29 Thread John Drescher
On Fri, Oct 29, 2010 at 6:03 PM, David Cole wrote: > The CMake 2.8.3 release candidate stream continues! > You can find the source and binaries here: > http://www.cmake.org/files/v2.8/?C=M;O=D > > EXCEPT: There are not yet Irix or Sun pre-built binary > installers available for CMake 2.8.3-rc4. Th

[CMake] CMake 2.8.3-rc4 ready for testing!

2010-10-29 Thread David Cole
The CMake 2.8.3 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D EXCEPT: There are not yet Irix or Sun pre-built binary installers available for CMake 2.8.3-rc4. There is a failing (HTML documentation validity checking) test on

[CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-10-29 Thread Knox, Kent
Hi all~ I have a project using Boost that should compile for both 64bit and 32bit on a 64bit host. This works fine for a 64bit target, but I can't get this to work for a 32bit target. I've done a fair share of googling to find this answer, but have not stumbled across anything that helps. In

Re: [CMake] how to define current working directory of command line tool

2010-10-29 Thread Ryan Pavlik
On Fri, Oct 29, 2010 at 7:48 AM, Jochen Wilhelmy wrote: > > > Are you trying to run the executable with ADD_TEST? In that case the working directory is always CMAKE_CURRENT_BINARY_DIR. If you need to change it, create a wrapper script (you can do so using the CMake lang

Re: [CMake] How to differ?

2010-10-29 Thread Eric Noulard
2010/10/29 Thomas Lehmann : > At the end you can see a version which was working well > but we found it somewhat complicated with the paths. I did not see any attachment or inline copy of CMakeLists.txt [...] >> and for each app there will be some >> projects/apps//CMakeLists.txt which conta

Re: [CMake] How to differ?

2010-10-29 Thread Thomas Lehmann
At the end you can see a version which was working well but we found it somewhat complicated with the paths. > > 1) Write a single CMake-enabled project with which you may build all > or part of the project > > 2) Write several separate CMake-enabled project which are inter- > dependant? > > I

Re: [CMake] cmake policy setting

2010-10-29 Thread Bill Hoffman
On 10/29/2010 6:33 AM, Marco Atzeri wrote: As there is no example in the documentaion, could someone clarify me if the change of any policy that should require an additional cmake_policy(SET CMP NEW) could also be requested at cmake invocation with

Re: [CMake] How to differ?

2010-10-29 Thread Eric Noulard
2010/10/29 Thomas Lehmann > Hi, > > I’m new to the cmake tool trying to find out how to apply > this best to our system. Here’s a problem I would like > to know how to do best: > > > > Assume following setup: > > -  /projects/libs/one > -  /projects/libs/two > -  /projects/

[CMake] How to differ?

2010-10-29 Thread Thomas Lehmann
Hi, I'm new to the cmake tool trying to find out how to apply this best to our system. Here's a problem I would like to know how to do best: Assume following setup: - /projects/libs/one - /projects/libs/two - /projects/apps/first - /projects/apps/two Both

Re: [CMake] cmake policy setting

2010-10-29 Thread Eric Noulard
2010/10/29 Marco Atzeri : > As there is no example in the documentaion, > could someone clarify me if the change of any policy > that should require an additional > > cmake_policy(SET CMP NEW) > > > could also be requested at cmake invocation with > -

Re: [CMake] how to define current working directory of command line tool

2010-10-29 Thread Jochen Wilhelmy
Are you trying to run the executable with ADD_TEST? In that case the working directory is always CMAKE_CURRENT_BINARY_DIR. If you need to change it, create a wrapper script (you can do so using the CMake language in order to not depend on any other interpreter). no, just

[CMake] cmake policy setting

2010-10-29 Thread Marco Atzeri
As there is no example in the documentaion, could someone clarify me if the change of any policy that should require an additional cmake_policy(SET CMP NEW) could also be requested at cmake invocation with --- # -D :=: Create a cmake cache entry