Hi,
I’ve stumbled over following issue:
if (NOT ^ MATCHES ^\^ )
message(FATAL_ERROR "Anker not found!")
endif()
if (NOT $
signature.asc
Description: Message signed with OpenPGP
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
:%_PDB% in MSVC IDE generator
due to CMake escaping percent signs
Description:
When using the MSVC generator and using a linker flag that is added to the
AdditionalOptions of the linker in the vcxproj, CMake will escape the linker
flag.
For example it will double up percent signs in a flag
Hi everyone,
I'm trying to figure out a way to escape the special keywords that are
used to introduce named options in function arguments (see
CMakeParseArguments [1]), for example to pass the string
RESULT_VARIABLE as argument to a command executed via
execute_process():
set(what
I'm invoking cmake -P to execute a CMake script in a custom command,
and I also pass in variables via -D. Here is the command that gets
generated by CMake for the custom command:
C:\Program Files (x86)\CMake 2.8\bin\cmake.exe -D
Actually I did a bit more testing on this:
C:\Work\rdailey-hp\dpd-cmake\cmake\scripts\cmakecmake -D
DOXYGEN_TAGFILES=C:/bar/somevalue=C:/foo/another -P configur
e_file.cmake
DOXYGEN_TAGFILES:
C:\Work\rdailey-hp\dpd-cmake\cmake\scripts\cmakecmake -D
DOXYGEN_TAGFILES=C/bar/somevalue=C:/foo/another
Try:
cmake -D DOXYGEN_TAGFILES:STRING=C:/bar/somevalue=C:/foo/another -P
configure_file.cmake
Because of the “:TYPE” parsing, “:” after the = sign can sometimes be
misinterpreted by the regex code used to parse these out...
HTH,
David
From: Robert Dailey
Sent: Thursday, April
Thanks that was it!
On Thu, Apr 11, 2013 at 9:02 AM, David Cole dlrd...@aol.com wrote:
Try:
cmake -D DOXYGEN_TAGFILES:STRING=C:/bar/somevalue=C:/foo/another -P
configure_file.cmake
Because of the “:TYPE” parsing, “:” after the = sign can sometimes be
misinterpreted by the regex code
Hi,
I have tried and tried, but haven't succeeded to include a semicolon as a
COMPILE_FLAGS property for a file. I turn to you for wisdom:
I need to get this as a result in the pre-processor definitions:
MYPATH=\d:\\;.\\Lib\
But when I use the following escape sequence in
On 10/18/2010 06:50 PM, David Genest wrote:
Hi,
I have tried and tried, but haven't succeeded to include a semicolon as a
COMPILE_FLAGS property for a file. I turn to you for wisdom:
I need to get this as a result in the pre-processor definitions:
MYPATH=\d:\\;.\\Lib\
But when I
On Dec 10, 2007 7:12 PM, Andrew Roark wrote:
For any tricky file operations (like all files ending with
XML
greater than 2Kb using DOS newlines etc) I would personally write a
python
script (e.g. ROOTDIR/util/xmlfinder.py) to do that work and make
the
command simply invoke the
On Dec 20, 2007 4:25 PM, Andrew Roark [EMAIL PROTECTED] wrote:
By all means, if it can be done in CMake, then do it in CMake.
But the CMake philosophy itself is in dispute with your argument.
I don't need anything but CMake to do regexes. They aren't ideal
regexes, but you can still get
Hi,
Well, these don't answer much. The first message (from Andrew) mentions
an option I have considered: writing everything on a script and calling
the script.
However, I thought it would be possible with cmake. The wiki just says:
You may need \\ instead of \ due to CMake argument processing. \
On Dec 12, 2007 10:09 AM, Javier Gonzalez [EMAIL PROTECTED] wrote:
Hi,
Well, these don't answer much. The first message (from Andrew) mentions
an option I have considered: writing everything on a script and calling
the script.
However, I thought it would be possible with cmake.
It probably
I'm quite jaded about keeping CMakeLists.txt simple. As far as I'm
concerned, it should be as simple as the level of complication of your
build. If I want encapsulation, I write a macro. Otherwise I'll just
write straight CMake script, because I'd rather read CMake script than
the docs of 5
I'm quite jaded about keeping CMakeLists.txt simple. As far as I'm
concerned, it should be as simple as the level of complication of your
build. If I want encapsulation, I write a macro. Otherwise I'll just
write straight CMake script, because I'd rather read CMake script than
the docs of 5
Is it possible to have a command like this?
ADD_CUSTOM_COMMAND(OUTPUT ${my_file}
...
COMMAND find . -name *xml /dev/null
...
VERBATIM
)
Not sure if you got a reply to this, nor if the following is any help, BUT...
For any tricky file operations (like all files ending with XML
Am Dienstag 11 Dezember 2007 schrieb Andrew Roark:
Is it possible to have a command like this?
ADD_CUSTOM_COMMAND(OUTPUT ${my_file}
...
COMMAND find . -name *xml /dev/null
...
VERBATIM
)
Not sure if you got a reply to this, nor if the following is any help,
BUT...
- Original Message
From: Hendrik Sattler [EMAIL PROTECTED]
To: cmake@cmake.org
Sent: Monday, December 10, 2007 7:29:21 PM
Subject: Re: [CMake] escaping!
Am Dienstag 11 Dezember 2007 schrieb Andrew Roark:
Is it possible to have a command like this?
ADD_CUSTOM_COMMAND(OUTPUT
On Dec 10, 2007 7:12 PM, Andrew Roark [EMAIL PROTECTED] wrote:
For any tricky file operations (like all files ending with XML greater than
2Kb using DOS newlines etc) I would personally write a python script (e.g.
ROOTDIR/util/xmlfinder.py) to do that work and make the command simply invoke
Hi all,
Is it possible to have a command like this?
ADD_CUSTOM_COMMAND(OUTPUT ${my_file}
...
COMMAND find . -name *xml /dev/null
...
VERBATIM
)
I managed to get it working without the verbatim option but now I added
other things and it became a nightmare. I'm trying the verbatim
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
Hi,
I am trying to create FooConfig.cmake by having
FooConfig.cmake.in and running CONFIGURE_FILE(FooConfig.cmake.in
FooConfig.cmake)
on it.
In FooConfig.cmake.in, I have something like:
SET(MY_LOCAL
Hi,
I am trying to create FooConfig.cmake by having
FooConfig.cmake.in and running CONFIGURE_FILE(FooConfig.cmake.in
FooConfig.cmake)
on it.
In FooConfig.cmake.in, I have something like:
SET(MY_LOCAL ${CMAKE_INSTALL_PREFIX}/include/foo)
IF (WIN32)
SET(MY_LOCAL
Hi folks,
I'm using CMake 2.2-3, and have recently run into some problems with
a stanza of CMake code that looks like this:
SET(src ${IN_DIR}/foo.bar)
SET(tgt ${OUT_DIR}/foo.bar)
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E copy_if_different ${src} ${tgt})
The problem comes when src or tgt have
23 matches
Mail list logo