[CMake] Linker trouble - no -L added from target_link_libraries

2012-12-03 Thread terje loe
Hi, I'm having some linker trouble on linux with my cmake project. I've installed a package (nvidias Cg toolkit) which puts the library files in /usr/lib64 I use the find script here: http://code.google.com/p/nvidia-texture-tools/source/browse/branches/2.0/cmake/FindCg.cmake?r=452 If I print ou

[CMake] Linker trouble - no -L added from target_link_libraries

2012-12-03 Thread terje loe
Hi, I'm having some linker trouble on linux with my cmake project. I've installed a package (nvidias Cg toolkit) which puts the library files in /usr/lib64 I use the find script here: http://code.google.com/p/nvidia-texture-tools/source/browse/branches/2.0/cmake/FindCg.cmake?r=452 If I print out

Re: [CMake] List from strings (CMAKE_CXX_FLAGS and friends)

2012-12-03 Thread James Bigler
Has nobody else notice this particular language inconsistency? On Tue, Nov 27, 2012 at 1:12 PM, James Bigler wrote: > I'm running into this again, and I trawled through the mailing list, and > according to Bill (4/11/2009 - managing lists with space separated > elements), I should be able to ge

Re: [CMake] Debuginfo builds and CPack RPM support

2012-12-03 Thread Joe Nardone
On Mon, Dec 3, 2012 at 2:06 PM, Eric Noulard wrote: >> The canonical way on conformant platforms is to include %debug_package in >> the SPEC file, which triggers a number of actions, namely to >> find-debuginfo.sh (which creates the debug files and generates a sub-package >> in the RPM spec that i

Re: [CMake] ifort, icc, icpc: ld: cannot find -lcilkrts : RULE_LAUNCH_LINK ?

2012-12-03 Thread Ilias Miroslav
Ad: http://www.cmake.org/pipermail/cmake/2012-November/052833.html Dear CMake experts, in one of my previous posts, http://www.cmake.org/pipermail/cmake/2011-March/043365.html, I was instructed to use RULE_LAUNCH_LINK with a custom shell script to modify linker command line. Now I would need

Re: [CMake] Debuginfo builds and CPack RPM support

2012-12-03 Thread Eric Noulard
2012/12/3 Joe Nardone : > I'm struggling to figure out the right way to support debuginfo packages > using CPack RPMs. (Debuginfo packages contain the debug symbols from > binaries that are otherwise stripped.) CPackRPM wasn't designed with the handling of "*debuginfo" in mind. > The canonical w

[CMake] Debuginfo builds and CPack RPM support

2012-12-03 Thread Joe Nardone
I'm struggling to figure out the right way to support debuginfo packages using CPack RPMs. (Debuginfo packages contain the debug symbols from binaries that are otherwise stripped.) The canonical way on conformant platforms is to include %debug_package in the SPEC file, which triggers a number of