[CMake] how generate correct start menu shortcuts for selectable programs in installer

2013-09-24 Thread West Lars-Gunnar
Hi, This is on windows XP or 7, I want to use cmake, cpack and nsoi and create an installer for some programs. In the installer I select which programs to install and selected programs shall show up in the start menu as shortcuts. Here is a simple try that is incorrect. Have done one component f

[CMake] NASM support?

2013-09-24 Thread g4
Can anyone help? At the start of the root cmakelist.txt file PROJECT(CMakeLab) MESSAGE("CMakeLab") ENABLE_LANGUAGE(ASM-NASM) Which generates the following error(s) in CMake 2.8.10.2 on Windows: CMakeLab CMake Error: cmListFileCache: error can not open file R:/src/CMakeLab CMake Err

[CMake] ADD_CUSTOM_COMMAND ?

2013-09-24 Thread g4
Trying to work-around NASM issues by using ADD_CUSTOM_COMMAND. The VS2012 project includes all specified source files but 3.asm wrongly configured: 'does not participate in build'. None of the expected Custom Build Tool properties set. What am I missing? TIA. # CMAKE_MINIMUM_REQUIRED (VER

Re: [CMake] Using MPI Profiler Scalasca in Cmake

2013-09-24 Thread Thomas Richard
Can't you simply change the cmake compiler and cflags using CMAKE_CXX_COMPILER and CMAKE_CXX_FLAGS (or add_definitions())? For example something like: cmake -DCMAKE_CXX_COMPILER=scalasca -DCMAKE_CXX_FLAGS="-instrument mpicxx" From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Beha

Re: [CMake] CHECK_CXX_ACCEPTS_FLAG delieverts wrong result

2013-09-24 Thread Hendrik Sattler
"Fetzer, Andreas" schrieb: >Hi, > >I am using Mac OS X 10.7 with Apple clang version 3.1. At the moment >our build fails due to an unknown compiler flag: > >error: unknown warning option '-Wstrict-null-sentinel' >[-Werror,-Wunknown-warning-option] > >Although we are checking whether the flag is

[CMake] Using MPI Profiler Scalasca in Cmake

2013-09-24 Thread Irina Demeshko
Hi, I want to utilize the MPI Profiler "Scalasca" [1] within my CMake project. For this reason I need to compile my project differently. I need to use # scalasca -instrument mpicxx -c foo.cpp instead of # mpicxx -c foo.cpp I've tried to specify CX compiler by: export CXX="scalasca -instrument m

Re: [CMake] Bug with ninja generator on windows using CMake 2.8.11.1

2013-09-24 Thread Malfettone, Kris
Robert, thank you for the quick response. I should have searched a bit longer. Looking forward to the new release. Petr, good to know thanks for the heads up. All, thanks again for CMake and all the work that goes into it. -Kris From: Robert Maynard [mailto:robert.mayn...@kitware.com] Sent:

Re: [CMake] Bug with ninja generator on windows using CMake 2.8.11.1

2013-09-24 Thread Robert Maynard
This bug has been fixed and is part of the 2.8.12 RC series. On Mon, Sep 23, 2013 at 4:58 PM, Malfettone, Kris wrote: > I am experiencing what I consider a bug with the Ninja generator on > Windows. I am using CMake 2.8.11.1 and I believe the latest Ninja from > github. However, I do not beli

Re: [CMake] Bug with ninja generator on windows using CMake 2.8.11.1

2013-09-24 Thread Petr Kmoch
Hi. I would just add that this is actually doable in one command - Windows 'cd' accepts option '/D' which means "also change the drive, if applicable." CMake would have to issue it, though. Petr On Mon, Sep 23, 2013 at 10:58 PM, Malfettone, Kris wrote: > I am experiencing what I consider a bu