Re: [CMake] Linux shared library suffixes and the soft link that matches

2011-07-26 Thread david_bjornbak
Thanks, I got the following to work for me. set_target_properties( mylibname PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} ) -dave b. -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Tuesday, July 26,

Re: [CMake] Linux shared library suffixes and the soft link that matches

2011-07-26 Thread David Cole
See target properties: http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:VERSION and http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:SOVERSION On Tue, Jul 26, 2011 at 7:49 PM, wrote: > Is there’s a standard way under CMake to produce Linux shared libraries with > the number

[CMake] Linux shared library suffixes and the soft link that matches

2011-07-26 Thread david_bjornbak
Is there's a standard way under CMake to produce Linux shared libraries with the numbered suffix and then soft link that references the library with a numbered suffix. For example, it's common to have a build a library foo with the name libfoo.so.1.2.3 and then have a soft link named libfoo.s

Re: [CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

2011-07-26 Thread Laszlo Papp
Hi Eric, > So the solution begins with DOT NOT USE ABSOLUTE INSTALL PATH, > give it a try and tell us how it goes. Thanks a lot for your answer. It has been very useful. The components seem much better for now after this change you were proposing: https://projects.kde.org/projects/playground/game

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

2011-07-26 Thread Glenn Coombs
Have a look at the documentation for CMAKE_RUNTIME_OUTPUT_DIRECTORY. On Linux the .so shared library files do go in the LIBRARY_OUTPUT_DIRECTORY. However, on Windows the DLL files are placed in the runtime directory and only the import libraries (.LIB files) are placed in the LIBRARY_OUTPUT_DIRECT

Re: [CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

2011-07-26 Thread Eric Noulard
2011/7/26 Laszlo Papp : > Hi, > > I am trying to make our cpack setup work for an NSIS installer. I > would like to make a very first step towards a component based > installer on Windows. Do you get component installer with other CPack generators or not? RPM or DEB on Linux (with at least CMake 2

Re: [CMake] Xcode and Cmake ReRun

2011-07-26 Thread David Cole
Sounds like we need a ZERO_CHECK target like we have in the Visual Studio generators to enable parallel building in Xcode. There are currently some problems with the existing CMake re-run commands on VS builds when CMake inputs change during the course of the build. When that happens, (not somethi

[CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

2011-07-26 Thread Laszlo Papp
Hi, I am trying to make our cpack setup work for an NSIS installer. I would like to make a very first step towards a component based installer on Windows. For the time being, the basic idea is that: I have some subfolders (different libraries) inside the project, and I would like to make every su

Re: [CMake] extract a folder name

2011-07-26 Thread Eric Noulard
2011/7/26 Julien Dardenne : > Hi, > > I have a path and i try to extract the folder name of this one. > > example : > > For C:/Programs/game/test, i would get test > > Do you know a cmake command ? or should i use regular expressions ? > If so, can you give me an example ? set(ORIGNAME "C:/Program

[CMake] extract a folder name

2011-07-26 Thread Julien Dardenne
Hi, I have a path and i try to extract the folder name of this one. example : For C:/Programs/game/test, i would get test Do you know a cmake command ? or should i use regular expressions ? If so, can you give me an example ? Thanks, Julien ___ Pow

Re: [CMake] Regex Alternation

2011-07-26 Thread Michael Wild
Both work, but the meaning is different. In (this|that) the alternation is restricted to within the group defined by the brackets, in (this)|(that) you get two groups, one of which is always empty, and the alternation is between everything left or right of the | operator. Michael On 07/26/2011 04

Re: [CMake] Regex Alternation

2011-07-26 Thread Allen Barnett
Thanks! On Tue, 2011-07-26 at 10:31 -0400, David Cole wrote: > "(this|that)" works. > > > On Tue, Jul 26, 2011 at 10:10 AM, Allen Barnett > wrote: > > Hi: I was wondering how the alternation character, |, works in CMake > > regular expressions. To match "this" or "that" in a longer string would

Re: [CMake] Regex Alternation

2011-07-26 Thread David Cole
"(this|that)" works. On Tue, Jul 26, 2011 at 10:10 AM, Allen Barnett wrote: > Hi: I was wondering how the alternation character, |, works in CMake > regular expressions. To match "this" or "that" in a longer string would > it be "(this|that)" or "(this)|(that)"? The CMake --help says | is > supp

[CMake] Regex Alternation

2011-07-26 Thread Allen Barnett
Hi: I was wondering how the alternation character, |, works in CMake regular expressions. To match "this" or "that" in a longer string would it be "(this|that)" or "(this)|(that)"? The CMake --help says | is supported but header file kwsys/RegularExpression.hxx.in doesn't mention it. Thanks, Allen

Re: [CMake] install(script ... and memory loss

2011-07-26 Thread Micha Renner
This is a really good idea, thank you. > configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tInstall.txt.in > ${CMAKE_CURRENT_BINARY_DIR}/tInstall.txt) > install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/tInstall.txt) > > Micha ___ Powered by www.kitware.c

Re: [CMake] install(script ... and memory loss

2011-07-26 Thread Eric Noulard
2011/7/26 Micha Renner : > In a CMakeLists file, there is this command: > > INSTALL(SCRIPT tInstall.txt) > > During processing tInstall.txt none of global variables (e.g. MSVC, > CMAKE_SHARED_LIBRARY_SUFFIX ...) has a value. > > Is this a bug or a feature? Feature... At Install-time CMake is runn

Re: [CMake] [ryppl-dev] Re: $<> expressions in include_directories command

2011-07-26 Thread Brad King
On 07/25/2011 11:01 PM, Dave Abrahams wrote: > on Mon Jul 25 2011, Brad King wrote: >>> That makes it sound like it's not going to help us with long include >>> directory lists with non-GNU tools. Is that right? >> >> When generating VS IDE project files... > > I'm not asking about the IDE, thou

[CMake] install(script ... and memory loss

2011-07-26 Thread Micha Renner
In a CMakeLists file, there is this command: INSTALL(SCRIPT tInstall.txt) During processing tInstall.txt none of global variables (e.g. MSVC, CMAKE_SHARED_LIBRARY_SUFFIX ...) has a value. Is this a bug or a feature? Greetings Micha ___ Powered by

Re: [CMake] Wiki: version compatibility matrix

2011-07-26 Thread Johannes Zarl
Apparently I forgot to add the list in my reply to Alexander, so here for all to read: Now that I'm back from my vacation, I'll get to it soonish (during August). Cheers, Johannes On 07/14/2011 at 14:03, Clifford Yapp wrote: > On Tue, Jul 12, 2011 at 4:58 PM, Alexander Neundorf > wrote: >