Re: [CMake] Request for added script intelligence

2014-09-08 Thread J Decker
Then it should be default in debug build not copy the release libraries which are unreferenced anyway. 'sides that... I'm only asking for the leading intelligence before the include, and not including the INSTALL line. I'm not asking to change having to add a INSTALL rule... just having a better de

Re: [CMake] Request for added script intelligence

2014-09-08 Thread David Cole via CMake
I don't think that's a good idea. The Debug libraries are supposed to be non-redistributable. (At least that used to be true... is it still true?) To Debug a VS-built project, you have to run it on a machine with VS installed, so there's not a compelling need to "install" the debug libraries a

Re: [CMake] replacement for link_directories that support generator expressions

2014-09-08 Thread Nils Gladitz
On 08.09.2014 23:27, James Bigler wrote: Is there an equivalent command to link_directories that support generator expressions? link_directories( $<$:${PROG_LIBRARY_DIRS_RELWITHDEBCRT}> ) link_directories( $>:${PROG_LIBRARY_DIRS}> ) Basically I want to use PROG_LIBRARY_DIRS_RELWITHDE

[CMake] Files always install

2014-09-08 Thread J Decker
This is sort of a place holder... I have defined set( CMAKE_INSTALL_MESSAGE "LAZY" ) I have a CMakeLists.txt that may be added multiple times that does SET( BASE_IMAGES ${CMAKE_CURRENT_SOURCE_DIR}/frame_border.png ${CMAKE_CURRENT_SOURCE_DIR}/sky.jpg ${CMAKE_CURRENT_SOURCE_DIR}/dial2a.png ${CMAKE

[CMake] replacement for link_directories that support generator expressions

2014-09-08 Thread James Bigler
Is there an equivalent command to link_directories that support generator expressions? link_directories( $<$:${PROG_LIBRARY_DIRS_RELWITHDEBCRT}> ) link_directories( $>:${PROG_LIBRARY_DIRS}> ) Basically I want to use PROG_LIBRARY_DIRS_RELWITHDEBCRT for Debug builds and PROG_LIBRARY_DIRS fo

[CMake] Request for added script intelligence

2014-09-08 Thread J Decker
Can something like ... SET( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP 1 ) if( ${CMAKE_BUILD_TYPE} MATCHES "[dD][eE][bB][uU][gG]" ) SET( CMAKE_INSTALL_DEBUG_LIBRARIES 1 ) SET( CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY 1 ) endif( ${CMAKE_BUILD_TYPE} MATCHES "[dD][eE][bB][uU][gG]" ) INCLUDE(InstallRequiredSys

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Gregor Jasny
On 06/09/14 16:02, Alexey Petruchik wrote: > I want to use different library folders for x64/x86/arm architectures. > Cmake has different generators for each arch: "Visual Studio 12 > 2013", "Visual Studio 12 2013 ARM", "Visual Studio 12 2013 Win64". Is there > any cmake var to get visual studio ta

[CMake] Compilation logs: Workaround for no appendfile

2014-09-08 Thread Olsson Gerhard
ARM DS-5 compiler (armcc compiler 5.04) Platform: Windows and Linux Armcc (as well as arasm, armlink etc) has option '-errors=file 'to log compilation messages (warnings and errors) to a logfile instead of stdout. There is no possibility from what I have found out to append to a log file, all ou

[CMake] Developing GResource support in CMake

2014-09-08 Thread Damián Nohales
Hello there, I was trying to develop a CMake module to add GResource (a GLib component) support for CMake. For people that doesn't know about GResource, it's a component that helps to add files bundled to the binary file. The component provides an utility called "glib-compile-resources" that gen

Re: [CMake] getting the BuildID from cdash/ctest after a submit

2014-09-08 Thread David Cole via CMake
No, but if you go to the "Tests Query" page, and set up a filter, you can construct a URL for showing the failed tests with a given build name and site name for the date in question... Almost as good. Start here: http://cdash.cscs.ch/queryTests.php?project=HPX&date=2014-09-08 (found from the proj

Re: [CMake] Ctest building with Multiple Processors

2014-09-08 Thread David Cole via CMake
I wrote this blog post a couple years ago claiming "one way to run a dashboard on windows": http://cmake.blogspot.com/2012/09/one-way-to-run-dashboard-on-windows.html As with all such things, there are, of course, multiple ways to solve "the problem." At the time I wrote it, I trusted Visual Stu

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
It would be really great to get comprehensive answer from one of cmake devs. On Mon, Sep 8, 2014 at 4:01 PM, Nils Gladitz wrote: > On 09/08/2014 02:51 PM, Alexey Petruchik wrote: > >> There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But >> it seems to be a x64-only hack not a

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Nils Gladitz
On 09/08/2014 02:51 PM, Alexey Petruchik wrote: There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But it seems to be a x64-only hack not a good generic solution There seem to be MSVC_C_ARCHITECTURE_ID and MSVC_CXX_ARCHITECTURE_ID though given that I don't see them documented

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But it seems to be a x64-only hack not a good generic solution On Mon, Sep 8, 2014 at 3:15 PM, Alexey Petruchik wrote: > I dont want to go dirty way with if ("${CMAKE_GENERATOR}" STREQUAL ...) > > > On Sat, Sep 6, 2014 at 5:02

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Hendrik Sattler
Hi, I'm also interested in an answer to this question. IMHO the definition of CMAKE_SYSTEM_PROCESSOR is broken for Visual Studio generators although it matches the help entry. HS On 6. September 2014 16:02:56 MESZ, Alexey Petruchik wrote: >I want to use different library folders for x64/x86

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
I dont want to go dirty way with if ("${CMAKE_GENERATOR}" STREQUAL ...) On Sat, Sep 6, 2014 at 5:02 PM, Alexey Petruchik wrote: > I want to use different library folders for x64/x86/arm architectures. > Cmake has different generators for each arch: "Visual Studio 12 > 2013", "Visual Studio 12 2

[CMake] getting the BuildID from cdash/ctest after a submit

2014-09-08 Thread Biddiscombe, John A.
The dashboard I'm setting up is so helpful. Thanks cdash/ctest people. After a submit, is it possible to get the ID so that I can generate URLs that point to the test fails (because the buildbot is on another site and I'd like to generate links back to the dashboard on it) example URL : http://c