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 "
o targets and after each target is
created I create a custom command and add the output files to the target.
(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 t
on't fall into this trap is to
use distinct variable names. I.e. use variable names that don't naturally
occur 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
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
t this doesn't rely on any system-specific external
command.
Of course, 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
s on the form "-NNN" (in addition to "/NNN").
Sincerely,
Anders Lindgren
On Fri, Jun 13, 2014 at 1:53 PM, Petr Kmoch wrote:
> Hi Andres.
>
> I cannot comment on the property request itself, but you should be able to
> work around its absence by using `-` instead
Visual Studio
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:
-- my_list: alpha;beta;gamma
-- res:
alpha
beta
gamma
---
Sincerely,
Anders Lindgren
On Wed, Jun 4, 2014 at 9:17 PM, Rick McGuire wrote:
> I'm working on a custom NSIS template where I wish to accumulate a set of
> NSIS commands in a list and then ins
variables, 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
P
rocessor definitions like `-DNAME', `NAME' is colored as a
*constant*.
About me: I'm an Emacs veteran with more than 20 years of experience (even
though I'm relatively new to CMake). I'm the author of `cwarn-mode',
`follow-mode', and I wrote the original java fo
10 matches
Mail list logo