Re: [CMake] Problem with if() and booleans

2009-03-21 Thread Philip Lowman
On Sat, Mar 21, 2009 at 10:01 PM, Robert Dailey wrote: > On Sat, Mar 21, 2009 at 7:42 PM, Philip Lowman wrote: > >> On Sat, Mar 21, 2009 at 8:00 PM, Robert Dailey wrote: >> >>> I currently have the following macro: >>> >>> macro( get_conf_dependencies var_name project_name debug ) >>>if( deb

Re: [CMake] Problem with if() and booleans

2009-03-21 Thread Robert Dailey
On Sat, Mar 21, 2009 at 7:42 PM, Philip Lowman wrote: > On Sat, Mar 21, 2009 at 8:00 PM, Robert Dailey wrote: > >> I currently have the following macro: >> >> macro( get_conf_dependencies var_name project_name debug ) >>if( debug ) >>message( "Using DEBUG" ) >>set( ${var_name

Re: [CMake] Problem with if() and booleans

2009-03-21 Thread Philip Lowman
On Sat, Mar 21, 2009 at 8:00 PM, Robert Dailey wrote: > I currently have the following macro: > > macro( get_conf_dependencies var_name project_name debug ) >if( debug ) >message( "Using DEBUG" ) >set( ${var_name} ${${project_name}_DEBUG_DEPENDENCIES} ) >else() >se

Re: [CMake] Windows DLL project generates dll, pdb, ilk but no lib

2009-03-21 Thread Philip Lowman
On Sat, Mar 21, 2009 at 7:09 PM, Steven Van Ingelgem wrote: > Hi all, > > > I have a Windows DLL project. > This project generates a dll, a pdb, an ilk and an idb... > And no errors or warnings whatsoever. > > But there is no .lib to see? > > How can I make it, or how can I figure out why it's not

Re: [CMake] How to declare global variables

2009-03-21 Thread Philip Lowman
On Sat, Mar 21, 2009 at 7:32 PM, Robert Dailey wrote: > Currently I'm having a bit of trouble making variables defined in the > following directory: > > C:\a\b\c\d\e\CMakeLists.txt > > Available to another script in a distant directory, located here: > > C:\a\b\x\y\z\CMakeLists.txt > > I've tried

[CMake] Problem with if() and booleans

2009-03-21 Thread Robert Dailey
I currently have the following macro: macro( get_conf_dependencies var_name project_name debug ) if( debug ) message( "Using DEBUG" ) set( ${var_name} ${${project_name}_DEBUG_DEPENDENCIES} ) else() set( ${var_name} ${${project_name}_RELEASE_DEPENDENCIES} ) endif() end

[CMake] How to declare global variables

2009-03-21 Thread Robert Dailey
Currently I'm having a bit of trouble making variables defined in the following directory: C:\a\b\c\d\e\CMakeLists.txt Available to another script in a distant directory, located here: C:\a\b\x\y\z\CMakeLists.txt I've tried using PARENT_SCOPE, but this doesn't declare it "high" enough. The only

[CMake] Windows DLL project generates dll, pdb, ilk but no lib

2009-03-21 Thread Steven Van Ingelgem
Hi all, I have a Windows DLL project. This project generates a dll, a pdb, an ilk and an idb... And no errors or warnings whatsoever. But there is no .lib to see? How can I make it, or how can I figure out why it's not generating it? I'm using CMake CVS version, and MS VC 2005. Grtz, Steven

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Vladimir Prus
On Sunday 22 March 2009 01:01:44 Bill Hoffman wrote: > Bill Hoffman wrote: > > Vladimir Prus wrote: > > >> > >> Therefore, that page is at very least inaccurate. I would like to request > >> CMake developers fix that page. > >> > > > > Gotcha, will do. > > > > Done: > > http://www.cmake.org/cm

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Bill Hoffman
Bill Hoffman wrote: Vladimir Prus wrote: Therefore, that page is at very least inaccurate. I would like to request CMake developers fix that page. Gotcha, will do. Done: http://www.cmake.org/cmake/help/documentation.html Sorry for any confusion. -Bill

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Bill Hoffman
Vladimir Prus wrote: On Saturday 21 March 2009 22:28:43 Piotr Dobrogost wrote: Hi On the following page http://www.cmake.org/cmake/help/documentation.html one can read the following statement "In addition many other popular open source projects use CMake such as VTK, ITK, ParaView, VXL, SecondL

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Vladimir Prus
On Saturday 21 March 2009 22:28:43 Piotr Dobrogost wrote: > Hi > > On the following page > http://www.cmake.org/cmake/help/documentation.html > one can read the following statement > "In addition many other popular open source projects use CMake such as > VTK, ITK, ParaView, VXL, SecondLife and Bo

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Piotr Dobrogost
Bill Hoffman wrote: > Here is another wiki about the Boost CMake work: > > https://svn.boost.org/trac/boost/wiki/CMake Thanks for info. > Currently, there are cmakelists.txt files in the trunk svn for Boost. > Brad King and I will be speaking about CMake at Boost Con this spring. Are you going

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Bill Hoffman
Bill Lorensen wrote: I don't use boost, but a quick google search found this: https://svn.boost.org/trac/boost/wiki/CMakeConfigAndBuild Here is another wiki about the Boost CMake work: https://svn.boost.org/trac/boost/wiki/CMake Currently, there are cmakelists.txt files in the trunk svn for

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Bill Lorensen
I don't use boost, but a quick google search found this: https://svn.boost.org/trac/boost/wiki/CMakeConfigAndBuild Bill On Sat, Mar 21, 2009 at 12:28 PM, Piotr Dobrogost wrote: > Hi > > On the following page > http://www.cmake.org/cmake/help/documentation.html > one can read the following state

[CMake] CMake used by Boost?

2009-03-21 Thread Piotr Dobrogost
Hi On the following page http://www.cmake.org/cmake/help/documentation.html one can read the following statement "In addition many other popular open source projects use CMake such as VTK, ITK, ParaView, VXL, SecondLife and Boost." Does Boost really use CMake and not Boost.Build as a build system

Re: [CMake] need criticism: my very first CMake project

2009-03-21 Thread Hendrik Sattler
Am Donnerstag 19 März 2009 23:03:11 schrieb Alexander Neundorf: > On Thursday 19 March 2009, Artem Zolochevskiy wrote: > > hi all > > > > I need constructive criticism for my very first CMake based project. > > > > It converts index.txt file into html by usung asciidoc. > > make install should inst

Re: [CMake] Change executable target's name on install

2009-03-21 Thread Dieter Rosch
Bump this - I have the same problem, and exe A must be installed as A and B. I currently compile it twice, but its ugly, and the exe's don't have the same checksum (because we embed buildtime in our exes).\ > -Original Message- > From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake