[CMake] Fwd: Re: how to do this: svn info?

2012-06-28 Thread m.hergarden
Will a string replace combo help in your case? We use it to replace line endings with ; to make a cmake list variable from a filelist: STRING(REPLACE "\n" "\\" svn_lastlog_with_slashes ${svn_lastlog}) regards, Micha On 06/29/2012 01:56 AM, Totte Karlsson wrote: Hi, I'm trying to get some sv

[CMake] how to do this: svn info?

2012-06-28 Thread Totte Karlsson
Hi, I'm trying to get some svn information into a build of a C library. The cmake currently looks like this (gathered from various posts) INCLUDE(FindSubversion) IF(SUBVERSION_FOUND) Subversion_WC_INFO(${PROJECT_SOURCE_DIR} rr) Subversion_WC_LOG(${PROJECT_SOURCE_DIR} rr) SET(infoFi

Re: [CMake] FindSubversion

2012-06-28 Thread Totte Karlsson
> > In your build directory run: > > cmake -D Subversion_SVN_EXECUTABLE=c:/some/thing/svn.exe . > Well, I want clients of this library to be able to compile it without too many tricks. I assume your command changes the path in the cache to a different svn client. Is that right? I found that

Re: [CMake] FindSubversion

2012-06-28 Thread Rolf Eike Beer
Totte Karlsson wrote: > Hi, > I am doing development on windows. I also have cygwin installed, to do > things from the commandline once in a while. I also use TortoiseSVN. > > When trying to use > SUBVERSION_WC_INFO(${PROJECT_SOURCE_DIR} info) > > In a cmake file, I get the following error: > >

[CMake] FindSubversion

2012-06-28 Thread Totte Karlsson
Hi, I am doing development on windows. I also have cygwin installed, to do things from the commandline once in a while. I also use TortoiseSVN. When trying to use SUBVERSION_WC_INFO(${PROJECT_SOURCE_DIR} info) In a cmake file, I get the following error: Command "c:/cygwin/bin/svn.exe info

Re: [CMake] Supplying different debug flags during compile and link stages for libraries and executables

2012-06-28 Thread Brett Delle Grazie
Hi Petr, et. al. It looks like I spoke too soon. I cannot see any way to separate the debug compile flag (-g) so that it does not appear on the linker lines for static and shared libraries. The creation rules for static / shared libraries all include "" which inevitably includes the debug flags.

Re: [CMake] Latest Xcode install (4.3.x) and CMake error

2012-06-28 Thread Michael Jackson
Thanks. I'll give that a try. ___ Mike JacksonPrincipal Software Engineer BlueQuartz SoftwareDayton, Ohio mike.jack...@bluequartz.net www.bluequartz.net On Jun 28, 2012, at 9:30 AM

[CMake] LINK_LIBRARIES not spilled to response file

2012-06-28 Thread Zaheer Chothia
Hello, I encountered an issue while building a CMake project where one target is linked against a large number of libraries. Unlike object files, libraries are not placed into a response file, which can lead to build commands which exceed the length limits on Windows. For reference, I am using t

Re: [CMake] Supplying different debug flags during compile and link stages for libraries and executables

2012-06-28 Thread Brett Delle Grazie
Hi Petr, Thanks very much ... I saw something extremely similar in the VS /STACK:1000 and managed to work it out from there. I've been playing around with it today and have managed to get somewhere. Thanks again, Brett On 28 June 2012 08:06, Petr Kmoch wrote: > Hi Brett, > > as far as I know,

Re: [CMake] Latest Xcode install (4.3.x) and CMake error

2012-06-28 Thread Sean McBride
On Thu, 28 Jun 2012 09:16:31 -0400, Michael Jackson said: > Error: No developer directory found at /Developer. Run > /usr/bin/xcode-select to update the developer directory path. Hey Mike! Maybe your xcode-select is still pointing to /Developer? Try rerunning xcode-select to point it to /Appl

[CMake] Latest Xcode install (4.3.x) and CMake error

2012-06-28 Thread Michael Jackson
I have the latest Xcode installed on a new Mac Laptop and I am trying to configure my project with CMake and generate Xcode projects but I am getting the following error: CMake Error at /Applications/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C

Re: [CMake] Ninja fails, Make succeeds...

2012-06-28 Thread Mikael Lyngvig
I need the files to be copied at build time, not a compile time: They are files I am editing and I need the build system to export the files to the binary directory tree whenever they are changed. I know it looks stupid and probably is as well :-) The reason is that when the project is being used

[CMake] VS2010: inconsistent build of DLL on different computers.

2012-06-28 Thread Casper Madsen
Hi, Using CMake and Visual Studio 2010exp to build DLLs for use in Wireshark we are seeing inconsistent results. On all our computers the build verdict is successful. Unfortunately it appears that the DLLs are broken when built on some computers - the DLLs can not be loaded. Tool setup **

Re: [CMake] Can we control component package name in 2.8.8?

2012-06-28 Thread Eric Noulard
2012/6/28 hce : > > m.hergarden wrote >> >> The unspecified may come from an Install statement that does not have a >> component specified. >> >> Micha >> > > I actually double checked, there are only two install statements which all > have component specified.  Could it be the bug? Yes it could b

Re: [CMake] Can we control component package name in 2.8.8?

2012-06-28 Thread hce
m.hergarden wrote > > The unspecified may come from an Install statement that does not have a > component specified. > > Micha > I actually double checked, there are only two install statements which all have component specified. Could it be the bug? Thank you. Jupiter -- View this messa

Re: [CMake] CPack and NSIS failure

2012-06-28 Thread Eric Noulard
2012/6/27 David Demelier : > > Thanks for your help, it worked! > > Now, the last problem, I noticed that CPACK_PACKAGE_EXECUTABLES you > can't set an icon, thus I used my own CreateShortCut and Delete with > respectively CPACK_NSIS_CREATE_ICONS_EXTRA and > CPACK_NSIS_DELETE_ICONS_EXTRA. The first

Re: [CMake] Supplying different debug flags during compile and link stages for libraries and executables

2012-06-28 Thread Petr Kmoch
Hi Brett, as far as I know, compilation flags come from CMAKE__FLAGS_, while linker flags come from CMAKE_{SHARED|EXE}_LINKER_FLAGS[_]. So you should be able to override CMAKE_SHARED_LINKER_FLAGS_Debug (not sure with correct case for configuration name) and remove -g from there. Petr On Wed, Jun