Re: [CMake] Antwort: Re: Re: Antwort: Antwort: Re:Antwort: Re: Toolchain with non-gcc argument format

2017-11-22 Thread Anders Lindgren
Hi! One solution is to write a wrapper script in your favourite scripting language (Ruby, Python etc) that pretend that it's a compiler. It could recognise the -I option and start the RX compiler with the --include option. It would not hurt to make it recognise other standard flags like "-o" and

[CMake] add_custom_command taints main dependency file?

2015-06-03 Thread Anders Lindgren
. (The path of the output file contains the ARCHIVE_OUTPUT_DIRECTORY target property.) In my case, what happens is that second target includes rules for building the output file of the first target, as well as rules for building it's own. Sincerely, Anders Lindgren -- Powered

Re: [CMake] set(a b); set(b c); if(a STREQUAL b OR a STREQUAL c) ...

2014-09-04 Thread Anders Lindgren
in other situations in you CMakeLists:s. In your example b is used both as the name of a variable and as a value. -- Anders Lindgren On Thu, Sep 4, 2014 at 7:01 AM, Clark Wang dearv...@gmail.com wrote: Hi, I don't understand why the following code would not print true (tested with cmake-3.0

[CMake] Feature suggestion: cmake -E do_nothing -- useful to simulate configuration-specific commands

2014-06-19 Thread Anders Lindgren
, this would not be needed if add_custom_command could be configuration-specific... In addition, it would be nice if other fields, like COMMENT, could support generator expressions. Sincerely, Anders Lindgren -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [CMake] Feature suggestion: cmake -E do_nothing -- useful to simulate configuration-specific commands

2014-06-19 Thread Anders Lindgren
Hi David! I have been playing around with cmake -E echo. The problem is that when using generator expressions, you can't apply them to the entire command line (they must be applied to one argument at a time). For example, if we would use the expression generator on the command we could generate

Re: [CMake] Wanted: Interface link options

2014-06-16 Thread Anders Lindgren
both, AFAIK. Petr On Fri, Jun 13, 2014 at 1:42 PM, Anders Lindgren andl...@gmail.com wrote: Hi! I have a third party-library only available in Release flavor. When building a Debug configuration, I need to pass the option /NODEFAULTLIB:libcmt to the Visual Studio linker. I have been

[CMake] Wanted: Interface link options

2014-06-13 Thread Anders Lindgren
options.) Sincerely, Anders Lindgren -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support

Re: [CMake] NSIS template variable substitution.

2014-06-05 Thread Anders Lindgren
gamma --- Sincerely, Anders Lindgren On Wed, Jun 4, 2014 at 9:17 PM, Rick McGuire object.r...@gmail.com wrote: I'm working on a custom NSIS template where I wish to accumulate a set of NSIS commands in a list and then insert those commands into the template file

[CMake] Emacs syntax highlighting package 'cmake-font-lock' updated to include 2.8.12 CMake features

2014-06-04 Thread Anders Lindgren
, keywords etc. This version of the package contains function signatures for all built-in CMake function up to and including CMake 2.8.12. For an example of this package, please see the screenshot on the github page. Sincerely, Anders Lindgren -- Powered by www.kitware.com Please keep