Re: [CMake] Problem with regular expression

2011-07-29 Thread Michael Hertling
On 07/15/2011 10:10 AM, Sven Klomp wrote: > Hi, > > I'm using cmake 2.8.3 and have a problem using regular expressions: > > STRING(REGEX REPLACE > "^(Input:[0-9]+:)([^/].*)$" > "_Start_\\1_Middle_\\2_End_" > TESTVARIABLE > "Input:1:filename1 \nInput:104:filename2 \n" >

Re: [CMake] Linking problem

2011-07-29 Thread Michael Hertling
On 07/27/2011 01:14 PM, Sanatan Rai wrote: > Hi, >This is a newbie question. So apologies in advance if this is covered > somewhere in the docs (I haven't been able to find a satisfactory > explanation). > > The issue is this: > > * I have a library called (lib)atmath as per: > > include_di

Re: [CMake] Invalid library output directory when VC++ solution is generated

2011-07-29 Thread Michael Hertling
On 07/27/2011 01:03 PM, Laura Autón García wrote: > Hello glenn, > Thank you for your answer. > I misunderstood the documentation. Thank you for pointing this out! > > Documentation: > "...For DLL platforms the DLL part of a shared library is treated as a > runtime target and the corresponding imp

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread Alan W. Irwin
http://public.kitware.com/Bug/view.php?id=12301 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.or

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread Alan W. Irwin
Please do a fundamental fix for http://public.kitware.com/Bug/view.php?id=9220. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS e

Re: [CMake] LIBRARY_OUTPUT_PATH for Dynamic and Static Libraries

2011-07-29 Thread Michael Hertling
On 07/28/2011 06:21 PM, Eric Noulard wrote: > 2011/7/28 Julien Dardenne >> >> Hi, >> >> I compile my libraries into dynamic and static. >> I now wish to change the library path. If I am in static (folder : lib ) and >> dynamic (folder : dll). >> >> For now, i have this script : >> >> OPTION (BUIL

Re: [CMake] Install files quietly

2011-07-29 Thread Michael Hertling
On 07/29/2011 11:43 AM, Mathias Tausig wrote: > Hello! > > During the installation process, I am copying a quite large directory using > INSTALL(DIRECTORY foo DESTINATION bar) > > When I run make install, every single file contained in foo is displayed > in the shell. Is there some way to prevent

Re: [CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread Michael Hertling
On 07/30/2011 12:06 AM, Michael Hertling wrote: > On 07/29/2011 06:22 PM, Louis Hoefler wrote: >> I tried that and now I get >> for the debug libraries: >> ...;wtdwthttpd.lib;... >> for the release libraries: >> ...;wtwthttp.lib;... >> >> I want it to look like >> ...;wt.lib;wthttp.lib;... or ...;w

Re: [CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread Michael Hertling
On 07/29/2011 06:22 PM, Louis Hoefler wrote: > I tried that and now I get > for the debug libraries: > ...;wtdwthttpd.lib;... > for the release libraries: > ...;wtwthttp.lib;... > > I want it to look like > ...;wt.lib;wthttp.lib;... or ...;wtd.lib;wthttpd.lib;... > my version somehow adds one rele

Re: [CMake] Cross Compiling with cmake 2.8.5

2011-07-29 Thread Michael Hertling
On 07/27/2011 04:28 PM, r.cze...@esa-grimma.de wrote: > Hi all, > > I tried to cross-compile an internal application for windows on a linux > machine, > but failed, because cmake at some point re-start the configure process, > and > drops the CMAKE_SYSTEM_NAME variable along that way. Attached i

Re: [CMake] Cross Compiling with cmake 2.8.5

2011-07-29 Thread Alexander Neundorf
On Wednesday 27 July 2011, r.cze...@esa-grimma.de wrote: > Hi all, > > I tried to cross-compile an internal application for windows on a linux > machine, > but failed, because cmake at some point re-start the configure process, > and > drops the CMAKE_SYSTEM_NAME variable along that way. Attached

Re: [CMake] CMake QT4 toolbar icons disappear

2011-07-29 Thread James Sutherland
I have the following in my CMakeLists.txt: install( DIRECTORY "${QT_PLUGINS_DIR}/imageformats" DESTINATION ${plugin_dest_dir}/plugins COMPONENT Runtime ) This results in the appropriate libraries (libqtiff.dylib included) being installed in my app bundle at Contents/MacOS/plugins/

Re: [CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread Louis Hoefler
I tried that and now I get for the debug libraries: ...;wtdwthttpd.lib;... for the release libraries: ...;wtwthttp.lib;... I want it to look like ...;wt.lib;wthttp.lib;... or ...;wtd.lib;wthttpd.lib;... my version somehow adds one release library to the debug configuration and vice versa (...;wth

Re: [CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread David Cole
Don't put a space in between the "wt" and the "${BACKENDLIB}" ... ? Use this instead: IF(WIN32)  TARGET_LINK_LIBRARIES(construction.wt  debug wtd${BACKENDLIB}d  optimized wt${BACKENDLIB}) ELSE(WIN32) TARGET_LINK_LIBRARIES(construction.wt wt${BACKENDLIB}) ENDIF(WIN32) Just a guess since I don'

Re: [CMake] CMake QT4 toolbar icons disappear

2011-07-29 Thread David Cole
Probably qtiff4 ... You can see the available ones in your Qt build tree at "plugins/imageformats" On Fri, Jul 29, 2011 at 12:10 PM, James Sutherland wrote: > The icons are all *.tif images. > Would that require a plugin?  Do you happen to know what one? > James > > On Thu, Jul 28, 2011 at 9:33

Re: [CMake] CMake QT4 toolbar icons disappear

2011-07-29 Thread James Sutherland
The icons are all *.tif images. Would that require a plugin? Do you happen to know what one? James On Thu, Jul 28, 2011 at 9:33 PM, clin...@elemtech.com wrote: > Sounds like your icons are in a format supported by a plugin, and the > installation has missing that plugin. > > Clint > > > - R

[CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread Louis Hoefler
Hello everyone. I try to set a specific library for the debug and release configuration. I try to do it this way: IF(DEFINED USEFCGI) SET(BACKENDLIB wtfcgi) ELSE(DEFINED USEFCGI) SET(BACKENDLIB wthttp) ENDIF(DEFINED USEFCGI) IF(WIN32) TARGET_LINK_LIBRARIES(construction.wt debug wtd ${BACKEN

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread David Cole
2011/7/29 Alexander Neundorf > On Friday 29 July 2011, David Cole wrote: > > Hi all, > > > > Replies requested. Short replies only. Read on. Just a short reply with > bug > > numbers or links to the bugs is all we need here. Please move specific > > discussions into the bugs themselves or start a

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread Sean McBride
bugs: features:

Re: [CMake] LINK_DIRECTORIES visual studio 2010

2011-07-29 Thread Louis Hoefler
Ah, yes this one works: cmake_minimum_required(VERSION 2.8) IF(DEFINED USEFCGI) SET(BACKENDLIB wtfcgi) ELSE(DEFINED USEFCGI) SET(BACKENDLIB wthttp) ENDIF(DEFINED USEFCGI) if(WIN32) INCLUDE_DIRECTORIES(D:/work/boost_1_46_1 D:/work/wt-3.1.10/src D:/work/wt-3.1.10/build) LINK_DIRECTORIES(D:/wo

Re: [CMake] LINK_DIRECTORIES visual studio 2010

2011-07-29 Thread Michael Hertling
On 07/29/2011 05:13 PM, Louis Hoefler wrote: > Hello everyone. > I have a simple CMake file > > cmake_minimum_required(VERSION 2.8) > > IF(DEFINED USEFCGI) > SET(BACKENDLIB wtfcgi) > ELSE(DEFINED USEFCGI) > SET(BACKENDLIB wthttp) > ENDIF(DEFINED USEFCGI) > > ADD_EXECUTABLE(construction.wt >

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-29 Thread Alexander Neundorf
On Friday 29 July 2011, Florian Reinhard wrote: > Yay! Native support for cl6x TI compiler! :) > > 2011/7/22 Alexander Neundorf : > > Can you build cmake from this branch I just created ? > > http://cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/TI_DSP_ > > Compiler > > Tested and fai

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread Alexander Neundorf
On Friday 29 July 2011, David Cole wrote: > Hi all, > > Replies requested. Short replies only. Read on. Just a short reply with bug > numbers or links to the bugs is all we need here. Please move specific > discussions into the bugs themselves or start a new thread to talk about > it... Replies on

[CMake] LINK_DIRECTORIES visual studio 2010

2011-07-29 Thread Louis Hoefler
Hello everyone. I have a simple CMake file cmake_minimum_required(VERSION 2.8) IF(DEFINED USEFCGI) SET(BACKENDLIB wtfcgi) ELSE(DEFINED USEFCGI) SET(BACKENDLIB wthttp) ENDIF(DEFINED USEFCGI) ADD_EXECUTABLE(construction.wt construction.cpp ) if(WIN32) INCLUDE_DIRECTORIES(D:/work/boost_1_46_1

Re: [CMake] Buggy CPack generator behaviour?

2011-07-29 Thread Eric Noulard
2011/7/29 Hendrik Sattler : >> >> rpm -qpi your.rpm >> >> you'll see a line like: >> >> "Relocations : (not relocatable)" >> or >> "Relocations : /usr" >> >> When an rpm is relocatable you can do >> >> rpm -i  --prefix=/your/relocation/prefix your.rpm >> >> if the rpm is not relocatable you can't.

Re: [CMake] Buggy CPack generator behaviour?

2011-07-29 Thread Hendrik Sattler
Zitat von Eric Noulard : 2011/7/29 Bjørn Forsman : As you guessed this is impossible without backward compat' breakage. e.g. be aware that with "CPACK_SET_DESTDIR" set to ON RPM and DEB behavior changes namely RPM package built with that may not be relocatable. What do you mean with 'not rel

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread David Cole
On Thu, Jul 28, 2011 at 8:32 PM, Jean-Christophe Fillion-Robin < jchris.filli...@kitware.com> wrote: > Make sure > http://cmake.org/gitweb?p=cmake.git;a=commit;h=702538eaa3315f3fcad9f1daea01e6a83928967bis > integrated to CMake 2.8.6 > > Thanks > Jc > This commit is already in 'master' which mean

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-07-29 Thread David Cole
Can you send along the output that you do see when your project is downloading, and the build output that immediately follows that? Does it say anything about the steps that come after download? For example, when I build the ExternalProject test and build only the project "TutorialStep5-Local"

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-07-29 Thread David Cole
Is your VS 2010 in German by any chance? (Or the path name to the installation of VS 2010?) We do not typically test on non-English platforms or build tools... On Fri, Jul 29, 2011 at 2:14 AM, Sascha Zelzer wrote: > Hi, > > Thanks David and Yuri for the information. In my case (with CTK), there

[CMake] Install files quietly

2011-07-29 Thread Mathias Tausig
Hello! During the installation process, I am copying a quite large directory using INSTALL(DIRECTORY foo DESTINATION bar) When I run make install, every single file contained in foo is displayed in the shell. Is there some way to prevent a install command from printing to the command line? regar

Re: [CMake] Buggy CPack generator behaviour?

2011-07-29 Thread Bjørn Forsman
2011/7/29 Eric Noulard : > 2011/7/29 Bjørn Forsman : >> What do you mean with 'not relocatable'? I didn't see any difference >> in the archive layouts of RPM and DEB when changing CPACK_SET_DESTIR >> from 'not set' to ON. > > if you do: > > rpm -qpi your.rpm > > you'll see a line like: > > "Relocat