Re: [CMake] How send linker options for STATIC LIBRARY?

2009-10-09 Thread Philip Lowman
On Fri, Oct 9, 2009 at 4:04 PM, Aleksandr Udovenko wrote: > On Fri, Oct 9, 2009 at 5:33 PM, Philip Lowman wrote: > > On Fri, Oct 9, 2009 at 4:15 AM, Aleksandr Udovenko > > > wrote: > >> > >> On Fri, Oct 9, 2009 at 10:04 AM, Philip Lowman wrote: > >> > On Wed, Oct 7, 2009 at 11:45 AM, Aleksandr

[CMake] CMake 2.8.0 RC 3 ready for testing!

2009-10-09 Thread Bill Hoffman
CMake 2.8.0 RC 3 is now ready for people to try. You can find the source and binaries here: http://www.cmake.org/files/v2.8/. Here are the changes for the 2.8.0 branch so far: Changes in CMake 2.8.0 RC 3 - CTest Added OS Platform (cpu architecture) detection support to windows system - Several

Re: [CMake] CMake 2.8.0 RC 2 ready for testing!

2009-10-09 Thread Pau Garcia i Quiles
On Sat, Oct 10, 2009 at 12:03 AM, Eric Noulard wrote: > 2009/10/9 Bill Hoffman : >> Orion Poplawski wrote: >>> >>> That was it.  Moving to out of tree worked. >>> >> I just verified that -j N>1 fails with those tests when doing in-source >> builds.  This can be fixed by adding some more test depen

Re: [CMake] Wrong flags in fortran project when use c library

2009-10-09 Thread Kelly (KT) Thompson
On Fri, Oct 9, 2009 at 12:49 PM, Bill Hoffman wrote: > Kelly (KT) Thompson wrote: > > On Fri, Oct 9, 2009 at 6:15 AM, Sebas > spas...@gmail.com>> wrote: >> >>I send a example where happen explained before ( I have similar >>struct in my Program). I include too the VS2008 project generate

Re: [CMake] CMake 2.8.0 RC 2 ready for testing!

2009-10-09 Thread Eric Noulard
2009/10/9 Bill Hoffman : > Orion Poplawski wrote: >> >> That was it.  Moving to out of tree worked. >> > I just verified that -j N>1 fails with those tests when doing in-source > builds.  This can be fixed by adding some more test depends into CMake, or > disabling in-source builds +1 for bein

Re: [CMake] CMake 2.8.0 RC 2 ready for testing!

2009-10-09 Thread Bill Hoffman
Orion Poplawski wrote: On 10/08/2009 08:56 PM, Bill Hoffman wrote: Bill Hoffman wrote: Did you do an in-source build? That might be the problem, we almost always test out of source. That was it. Moving to out of tree worked. I just verified that -j N>1 fails with those tests when doing in-s

Re: [CMake] CMake 2.8.0 RC 2 ready for testing!

2009-10-09 Thread Orion Poplawski
On 10/08/2009 08:56 PM, Bill Hoffman wrote: Bill Hoffman wrote: Did you do an in-source build? That might be the problem, we almost always test out of source. That was it. Moving to out of tree worked. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Divis

Re: [CMake] How send linker options for STATIC LIBRARY?

2009-10-09 Thread Aleksandr Udovenko
On Fri, Oct 9, 2009 at 5:33 PM, Philip Lowman wrote: > On Fri, Oct 9, 2009 at 4:15 AM, Aleksandr Udovenko > wrote: >> >> On Fri, Oct 9, 2009 at 10:04 AM, Philip Lowman wrote: >> > On Wed, Oct 7, 2009 at 11:45 AM, Aleksandr Udovenko >> > >> > wrote: >> >> >> >> I try cmake 2.6, 2.8 for microsoft

Re: [CMake] Wrong flags in fortran project when use c library

2009-10-09 Thread Bill Hoffman
Kelly (KT) Thompson wrote: On Fri, Oct 9, 2009 at 6:15 AM, Sebas > wrote: I send a example where happen explained before ( I have similar struct in my Program). I include too the VS2008 project generate by cmake. In the Fortran Project be can seen that use /

Re: [CMake] Finding Blas

2009-10-09 Thread Bill Hoffman
Shepherd, Jason F wrote: Hi all, I'm currently using Cmake 2.8b. I'm trying to add a requirement (based on another conditional statement) to find the LAPACK and BLAS packages to VTK's Infovis capabilities. I've added the following lines to my CMakeLists.txt FIND_PACKAGE(BLAS REQUIRED)

[CMake] Finding Blas

2009-10-09 Thread Shepherd, Jason F
Hi all, I'm currently using Cmake 2.8b. I'm trying to add a requirement (based on another conditional statement) to find the LAPACK and BLAS packages to VTK's Infovis capabilities. I've added the following lines to my CMakeLists.txt FIND_PACKAGE(BLAS REQUIRED) FIND_PACKAGE(LAPACK REQUIRED

Re: [CMake] Book for 2.8 ?

2009-10-09 Thread Bill Hoffman
Pau Garcia i Quiles wrote: Hello, Any plans to publish a new edition of the book for CMake, CTest, CPack, etc 2.8 ? Yes, we are working on a new edition. -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.k

[CMake] Book for 2.8 ?

2009-10-09 Thread Pau Garcia i Quiles
Hello, Any plans to publish a new edition of the book for CMake, CTest, CPack, etc 2.8 ? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source pr

Re: [CMake] Overloading the install make rule

2009-10-09 Thread Dixon, Shane
Eric, That might work. The catch is that the difference isn't in the executable, but in the .dll that gets installed with it. I have a cryptoki-hw.dll and a cryptoki-sw.dll. Since Windows doesn't allow me to use RPATH at all, at runtime it runs whatever .dll is sitting in the same folder as

[CMake] Added Recipes section to Cmake Wiki

2009-10-09 Thread Dixon, Shane
I have a blog on linux.com where I was adding CMake recipes so that I could have a catalog of CMake recipes to refer back to when doing later projects. I figured that this is something probably best kept in the wiki, so I added a "Recipes" section to the main CMake wiki: http://www.cmake.org/W

Re: [CMake] Why FindBoost messaging not unified?

2009-10-09 Thread Philip Lowman
On Fri, Oct 9, 2009 at 6:05 AM, Fabio Fracassi wrote: > Philip Lowman schrieb: > >> If you have any other CMake related suggestions please feel free to >> accompany your mailing list posts with a feature request and/or patch on the >> bugtracker if you have the time. >> >> >> http://public.kitware

Re: [CMake] How send linker options for STATIC LIBRARY?

2009-10-09 Thread Philip Lowman
On Fri, Oct 9, 2009 at 4:15 AM, Aleksandr Udovenko wrote: > On Fri, Oct 9, 2009 at 10:04 AM, Philip Lowman wrote: > > On Wed, Oct 7, 2009 at 11:45 AM, Aleksandr Udovenko < > udovenk...@gmail.com> > > wrote: > >> > >> I try cmake 2.6, 2.8 for microsoft visual studio 2005,2008. > >> creating librar

Re: [CMake] Why FindBoost messaging not unified?

2009-10-09 Thread Michael Jackson
I'll admit up front that I have NOT tried out the latest CVS Cmake BUT something that I sometimes have add into the FindBoost are outputs that print all the variant names of the boost library that CMake is trying to search for with the BOOST_DEBUG enabled. I think this would be useful for w

Re: [CMake] Depending on all and custom targets

2009-10-09 Thread Marcel Loose
Hi Jens, It's not a bug. Quoting from the docs for add_custom_target: Dependencies listed with the DEPENDS argument may reference files and outputs of custom commands created with ADD_CUSTOM_COMMAND. The problem is that your target 'extras' doesn't create any files. By saying "add_custom_ta

Re: [CMake] Depending on all and custom targets

2009-10-09 Thread Eric Noulard
2009/10/9 jens persson : >> >> I think dependency from "extras" should work did you try with >> only "extras" and not "all"? > > Yes I get the following error: > > $ make complete > [100%] Built target bar > [100%] Built target extras > make[3]: *** No rule to make target `extras', needed by > `CMa

Re: [CMake] Depending on all and custom targets

2009-10-09 Thread jens persson
2009/10/9 Eric Noulard : > 2009/10/9 jens persson : >> I get the impression that I have two problems: depending on a >> custom_target and depending on all. > > Dependency from builtin target is currently unsupported. > see: > http://public.kitware.com/Bug/view.php?id=8438 OK, that settled then, I'

Re: [CMake] Depending on all and custom targets

2009-10-09 Thread Eric Noulard
2009/10/9 jens persson : > add_custom_target(extras >        DEPENDS bar > ) > > which builds foo when running make all and bar when make extras > > I have tried to simply add: > add_custom_target(complete >        DEPENDS extras all > ) > > which gives the following error: [...] > I get the imp

Re: [CMake] Why FindBoost messaging not unified?

2009-10-09 Thread Fabio Fracassi
Philip Lowman schrieb: If you have any other CMake related suggestions please feel free to accompany your mailing list posts with a feature request and/or patch on the bugtracker if you have the time. http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindBoost.cmake?root=CMake&view=log

[CMake] Depending on all and custom targets

2009-10-09 Thread jens persson
Hello again, I have some targets that are not build by default (using EXCLUDE_FROM_ALL), these are build when a special target called extras. Now I want to add a target that builds both all and extras, but cant seem to get it to work. For discussion I have these rules: PROJECT (tester) CMAKE_MIN

Re: [CMake] Adding a buildstep to all targets

2009-10-09 Thread Hendrik Sattler
Zitat von jens persson : I'm trying to convert an old home grown buildsystem based on make to cmake and one of the requisites[1] is that I need to build each executable in two versions, one with debug symbols and one without. I have solved it now with a add_custom_command call for every target li

[CMake] Adding a buildstep to all targets

2009-10-09 Thread jens persson
Hello, I'm trying to convert an old home grown buildsystem based on make to cmake and one of the requisites[1] is that I need to build each executable in two versions, one with debug symbols and one without. I have solved it now with a add_custom_command call for every target like this add_custom

[CMake] CMake 2.8 RC2 - Visual Studio 2010 Generator - No header files

2009-10-09 Thread Tim Anil
Hi, It seems that the "Visual Studio 2010" generator doesn't include the header files under the "Header Files" virtual directory in Visual Studio. The sources files are correctly displayed under "Source Files". The .h files were listed in the add_libray() or add_executable(). This works well with t