Do you mean you don't see where the static library is created or where
the static library is listed on the link line for the dynamic library?
On Thu, Jan 5, 2017 at 11:30 AM, Robert Dailey wrote:
> I have two targets in CMake: a static library and a shared library.
> The shared library specifies
Thanks, Bill and Jakob. I did what you suggested and found the problem
Aaron
On Thu, Jan 5, 2017 at 11:51 AM, Bill Hoffman
wrote:
> On 1/5/2017 9:32 AM, Jakob van Bethlehem wrote:
>
>>
>> CTest is not some magical tool that internally runs your test or
>> something like that - instead CTest jus
On 2017-01-05 05:10, aishwarya selvaraj wrote:
> Thanks for feedback :
>
>> IF (${ARMADILLO} STREQUAL “ARMADILLO-NOTFOUND”)
>> # do what you want
>> ENDIF ()
>
> I tried this way of writing :
>
> IF (${ARMADILLO} STREQUAL "ARMADILLO-NOTFOUND")
> include(ExternalProject)
> ExternalProj
On 1/5/2017 9:32 AM, Jakob van Bethlehem wrote:
CTest is not some magical tool that internally runs your test or
something like that - instead CTest just fires up your test executable
and does clever things with the output. In the same way you can just set
your test project as startup-project, a
I have two targets in CMake: a static library and a shared library.
The shared library specifies the static library as a target link
library.
When I generate for Ninja, and I run:
$ ninja -v
During the link command for the shared library, I do not see the
static library specified to g++. I do se
Hi Domen.
That works perfectly. This is my code if anyone’s interested:
function(install_common)
foreach(component ${ALL_COMPONENTS})
install(${ARGV} COMPONENT ${component})
endforeach()
endfunction()
where ALL_COMPONENTS is a global variable holding all components.
Thanks,
Dvi
Hej,
CTest is not some magical tool that internally runs your test or something
like that - instead CTest just fires up your test executable and does
clever things with the output. In the same way you can just set your test
project as startup-project, and debug it like any other executable.
Since
Thanks for feedback :
> IF (${ARMADILLO} STREQUAL “ARMADILLO-NOTFOUND”)
> # do what you want
> ENDIF ()
I tried this way of writing :
IF (${ARMADILLO} STREQUAL "ARMADILLO-NOTFOUND")
include(ExternalProject)
ExternalProject_Add(armadillo
URL https://github.com/lsolanka/armadillo/ar