[cmake-developers] [CMake 0015103]: AUTORCC fails with more than one .qrc file per target

2014-08-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15103 == Reported By:Hendrik Sattler Assigned To:

[cmake-developers] [CMake 0015104]: ExternalAdd_Project cannot pass strings containing quotes to command line

2014-08-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15104 == Reported By:Bryan Zimmerman Assigned To:

[cmake-developers] [CMake 0015108]: Platform information override files are not loaded for assembler.

2014-08-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15108 == Reported By:Mikhail Nikonov Assigned To:

[CMake] Platform information override file is ignored for ASM language

2014-08-25 Thread Никонов Михаил Николаевич
Hello, In a bare-metal embedded project, I need to initialize compiler flags to custom values while toolchains are initialized; for that, I'm using override files to set _INIT variables. From what I've encountered, it appears that CMAKE_USER_MAKE_RULES_OVERRIDE file (and language-specific *_ASM

Re: [CMake] add_custom_command and CONFIG-dependent output

2014-08-25 Thread David Cole via CMake
Ah, thanks... Though, I think there may be a general disconnect here: that is, it seems likely that one would want to construct output with a pattern composed from generator expressions. ... While I gather from your comment that something like this might be possible in the future, is there

Re: [CMake] add_custom_command and CONFIG-dependent output

2014-08-25 Thread Petr Kmoch
On Mon, Aug 25, 2014 at 1:07 PM, David Cole via CMake cmake@cmake.org wrote: Ah, thanks... Though, I think there may be a general disconnect here: that is, it seems likely that one would want to construct output with a pattern composed from generator expressions. ... While I gather from

Re: [CMake] File concatenation in cmake add_custom_command()

2014-08-25 Thread David Cole via CMake
First: thanks for your questions to the CMake list. However, when you send an email to the list, please just ask the question -- that is, please do *not* ask me by name. I know I've answered a few questions for you in the last few weeks, but I am not the only one here, and asking me by name

Re: [CMake] File concatenation in cmake add_custom_command()

2014-08-25 Thread Ravi Raman
Thanks for the reply. Thanks Regards Ravi Raman Xoriant Solutions Pvt. Ltd 4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA. Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip Extn:1178| Fax: +91 22 3051 ravi.ra...@xoriant.com| 

Re: [CMake] Find SDL

2014-08-25 Thread Benjamin Eikel
Hello Christer, Zitat von Christer Solskogen christer.solsko...@gmail.com: Hi! I have a cross compiler, installed into /opt/cross, which is compiled by me. This cross compiler (gcc) is sysroot aware, which means that every header and library is installed into /opt/cross/target. In

Re: [CMake] Setting additional Plist values for OS X Bundle

2014-08-25 Thread Clinton Stimpson
On Monday, August 25, 2014 01:10:27 PM Michael Jackson wrote: Are there are newer facilities in CMake 3.x that would allow me to add additional Plist values to the standard Mac OS X bundle plist that gets created? I use the following code currently: set_target_properties(${TARGET_NAME}

[CMake] Can't run cmd.exe directly in ctest?

2014-08-25 Thread Dan Kegel
Hi! The simple CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(foo) enable_testing() add_test(NAME bar COMMAND cmd /c echo hello) fails for me when run on Windows 7 64 bit (only platform I've tried) with ctest 2.8.12 or 2.8.11. ctest -V -C Debug outputs ... test 1 Start 1: bar

Re: [CMake] Platform information override file is ignored for ASM language

2014-08-25 Thread Alexander Neundorf
On Monday, August 25, 2014 14:36:21 Никонов Михаил Николаевич wrote: Hello, In a bare-metal embedded project, I need to initialize compiler flags to custom values while toolchains are initialized; for that, I'm using override files to set _INIT variables. From what I've encountered, it

Re: [CMake] Collecting libraries for NSIS installer

2014-08-25 Thread Richard Shaw
Ok, apparently I'm the only person that can't figure out how generator expressions work but I worked around it using find_program to find the resultant executable in the source directory, which I think is a really bad way to do it, but it works. Then I use find_library to get the full path of the

Re: [CMake] Unhelpful cmListFileCache error

2014-08-25 Thread david
I am at a complete loss on what to look for here. This error started when I tried adding list(append ) instead of copying the language files to the CMake installation directory. If anyone has any idea where to look, I'm all ears. I think 95% of my users will be on Windows, so I can't

Re: [CMake] Collecting libraries for NSIS installer

2014-08-25 Thread Jean-Christophe Fillion-Robin
Hi Richard, Generator expression won't work in install rules. Instead, I suggest you simply use install(TARGET ...) for regular targets. Hth Jc On Mon, Aug 25, 2014 at 5:02 PM, Richard Shaw hobbes1...@gmail.com wrote: Ok, apparently I'm the only person that can't figure out how generator

Re: [CMake] Collecting libraries for NSIS installer

2014-08-25 Thread Richard Shaw
On Mon, Aug 25, 2014 at 4:10 PM, Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote: Hi Richard, Generator expression won't work in install rules. Instead, I suggest you simply use install(TARGET ...) for regular targets. That explains that problem. I'm not sure if you

Re: [CMake] Dependency weirdness

2014-08-25 Thread Phil Smith
A colleague figured it out. We had: ${CMAKE_CURRENT_SOURCE_DIR}/src/zprotect But the actual directory name is zProtect, capital P. Windows doesn't care, sorta kinda, but apparently CMake or Cygwin or Windows does somehow. If the directory has a period in the name, it works; if it doesn't, it

[CMake] Need to know the ASM flag that needs to be modified in cmake

2014-08-25 Thread Ravi Raman
Hi, In our cmake project, there is an assembler file (.asm extension) that needs to be compiled to create object file (.obj) using microsoft macro assembler (ml.exe for 32-bit and ml64.exe for 64-bit) This is happening successfully. But there is a preprocessor directive (_WIN64) as follows