Hello,
I need to execute following command with add_custom_command:
*python test.py src dst*
The first argument is empty. Sometimes it may have some text. So Python
process the args as [test.py, , src, dst]. But when I do the same with
add_custom_command, the empty argument is not
...@gmail.com wrote:
On 06/30/2014 09:42 AM, abid rahman wrote:
Hello,
I need to execute following command with add_custom_command:
*python test.py src dst*
The first argument is empty. Sometimes it may have some text. So Python
process the args as [test.py, , src, dst]. But when I do
made the empty quotes appear because they
were put directly as parameter.
I think if you set(prefix \\) it'll do the trick.
*From:* CMake [mailto:cmake-boun...@cmake.org] *On Behalf Of *abid rahman
*Sent:* Montag, 30. Juni 2014 13:14
*To:* Nils Gladitz
*Cc:* cmake@cmake.org
*Subject:* Re
Hello,
I am adding a new target using add_library(target source1 source2). Then
add the dependencies of targets by target_link_libraries(target deps)
But this source2 is generated by another python script based on
dependencies of target. ie, I need to specify the dependencies of target
before
Hello,
What is returned if string(FIND) matches a substring, and what is returned
if it doesn't match anything?
Abid K.
--
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
Hello,
How can I match a string to any of two strings?
For example, I want to check if a string is either abc or xyz. How can
I check it?
IF(string1 MATCHES abc\|xyz doesn't work?
Regards
Abid K.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: