How can I build a module in a subdirectory automatically if a required
package is available, but not fail if it's not. Say I have a
top-level CMakeLists.txt with
add_subdirectory(foo)
add_subdirectory(bar)
and in directory foo I have in CMakeLists.txt
find_package(yadda, REQUIRED)
I
On March 11, 2019 6:03:24 PM MDT, hex wrote:
>hi everyone,
>
>There are many generators supported in CMake. A CMake build system
>allows me to generate the preferred build environment for everyone,
>visual studio, eclipse, ninja you name it.
>
>The problem I see with this is that projects are ge
hi everyone,
There are many generators supported in CMake. A CMake build system
allows me to generate the preferred build environment for everyone,
visual studio, eclipse, ninja you name it.
The problem I see with this is that projects are generated output files,
and even if that gives every
On Mon, 2019-03-11 at 17:59 +0100, Micha Renner wrote:
> In CPack I can add a component with cpack_add_component and describe
> the component with the additional arguments of the macro.
> I can also describe the component if I use the varibales of type
> CPACK_COMPONENT__XXX (e.g.
> CPACK_COMPONENT
In CPack I can add a component with cpack_add_component and describe
the component with the additional arguments of the macro.
I can also describe the component if I use the varibales of type
CPACK_COMPONENT__XXX (e.g.
CPACK_COMPONENT__HIDDEN).
So which one is the right way? Or doesn't matter which
I would expect that you're running into a consequence of:
"In a function, ARGN, ARGC, ARGV and ARGV0, ARGV1, ... are true variables in
the usual CMake sense. In a macro, they are not, they are string replacements
much like the C preprocessor would do with a macro."
So I would expect the backslas
Hi,
today i ran into an error with escape characters in macros. Is this a known
issue? Is this by design? How can I workaround?
Code:
function(f STRING)
message(STATUS ${STRING})
endfunction()
macro(m STRING)
message(STATUS ${STRING})
endmacro()
set(CONTENT "bla bla \/\/")
message(STATUS
Hi All!
Short question: why do we need NVIDIA Nsight Tegra to setup a Visual
Studio Android project? Despite of it being a helpful tool, the
necessity for it to create the project file is unclear to me.
Could you please enlighten me?
Kind Regards
Daniel
--
Powered by www.kitware.com
Plea