Hello David,
thank you very much for your help.
Unfortunately I may do something wrong because it does not work.
After cleaning, the library is downloaded again.
I guess my mistake comes from the fact I do not understand the role of URL_MD5.
Below is a simple example where downloading and insta
/* I'm using cmake-3.2.20150331-gb190c. */
I have a following construction:
ExternalProject_Add(
websockets_ep
DEPENDS ev openssl
...)
But it so happened, that "openssl" is a INTERFACE library. Because of
that I get an obscure error:
CMake Error at
/usr/share/cmake/shar
I have this generator expression:
-I$, -I>
I get this output in my custom command:
-I$
This is almost exactly the same as the example in the documentation (other
than adding ${LibraryName}). Why doesn't this work?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMa
This solved the cmake end of this. Thanks!
B.
On 04/15/2015 11:53 PM, Petr Kmoch wrote:
Hi Bill.
Probably the easiest way to set the interface properties to just what
you need is to use the PUBLIC (which is the default), PRIVATE and
INTERFACE keywords when specifying dependencies. In your cas
I am trying to change the existing PLplot build system to set CMP0026
to new following the existing advice that file(GENERATE...) should be
used to configure target locations in a file using generator
expressions. But the issue is configure_file currently (see end
question below) does not appear
On 16.04.2015 22:25, Daniel Dilts wrote:
You can only add commands to a target that was defined in the current
directory? So, I would have to have a new target for each directory
and then have a target that depends on all of those targets?
I don't know your use case so I can not comment on wh
You can only add commands to a target that was defined in the current
directory? So, I would have to have a new target for each directory and
then have a target that depends on all of those targets?
On Thu, Apr 16, 2015 at 1:08 PM, Nils Gladitz wrote:
> On 16.04.2015 22:01, Daniel Dilts wrote:
On 16.04.2015 22:01, Daniel Dilts wrote:
I have the following in my lists:
if(TARGET CustomTarget)
message("TARGET CustomTarget")
else()
message("NOT TARGET CustomTarget")
endif()
add_custom_command(TARGET CustomTarget PRE_BUILD
COMMAND CustomCommand.exe
USES_TERMINAL
)
In my output I
I have the following in my lists:
if(TARGET CustomTarget)
message("TARGET CustomTarget")
else()
message("NOT TARGET CustomTarget")
endif()
add_custom_command(TARGET CustomTarget PRE_BUILD
COMMAND CustomCommand.exe
USES_TERMINAL
)
In my output I get:
TARGET CustomTarget
CMake Error at Som
I moved the add_custom_target to the 4th line of my top-level
CMakeLists.txt. The only lines before it are cmake_minimum_required,
project, and a single set. I also made sure that the name of the target
matches the target name in add_custom_command and add_dependencies. I am
still getting the sa
10 matches
Mail list logo