[CMake] install(QUIET ...)

2014-04-04 Thread Stefan Eilemann
Hi, I gave the implementation of install(QUIET) a shot since it became an annoyance in a project. Please see http://www.cmake.org/Bug/view.php?id=13761 for a patch - feedback and merge into master are welcome! Cheers, Stefan. -- http://www.eyescale.ch https://github.com/Eyescale/ http://www.

Re: [CMake] What do I need to do to insure that CMake uses gfortran?

2014-04-04 Thread Conan
Yes, I cleared the build directory before each run of cmake. I eventually just added the following lines: SET (CMAKE_Fortran_COMPILER gfortran) SET (CMAKE_CC_COMPILER gcc) SET (CMAKE_CXX_COMPILER g++) Not sure if that is the "approved" way to do this but that got me back on track. C On

[CMake] Suppressing -rdynamic in toolchain file

2014-04-04 Thread Gerhard Gappmeier
Hi I'm trying to use -ffunction-sections -fdata-sections as C_FLAGS and -Wl,--gc- sections when cross-compiling for my ARM Linux target. The gc-sections option does not work because CMake adds the "-rdynamic" flag which exports all symbols, also the unused ones. I already figured out that I can

Re: [CMake] problems with Visual Studio Express 2013

2014-04-04 Thread Kris Thielemans
From: Brad King, Sent: 10 March 2014 13:00 > > On 03/10/2014 05:36 AM, Kris Thielemans wrote: > > Attached are these 2 log files. They seem conflicting to me: the > > CMakeOutput.log seems to say everything is fine, while the CMakeError.log > > says that the executable cannot be found. > > The ou

Re: [CMake] Write CMakeLists in another programming language?

2014-04-04 Thread Eric Wing
On 4/3/14, Clark Wang wrote: > I've been using cmake for some time but still I'm confused about the > syntax. Following are 2 examples from me: > > - http://www.cmake.org/pipermail/cmake/2013-September/055924.html > - http://www.cmake.org/pipermail/cmake/2013-October/056036.html > > Someone ever

[CMake] How to replace get_target_property(LOCATION)?

2014-04-04 Thread Andreas Schneider
Hello, with cmake 2.8.12 get_target_property(LOCATION) isn't allowed anymore. I find the documentation for CMP0026 really confusing. Maybe someone can tell me what the way is how to do it. I have: src/CMakeLists.txt: add_library(nss_wrapper SHARED nss_wrapper.c) get_target_property(NWRAP_LOC