Hi,
I tried several times now to find documentation about how to define
and use target names which seem to have namespaces, like Qt ones.
For example: add_executable( MyProject::some_target ... )
I can't find any documentation or even name for this.
Is it considered a "namespace"?
In any way I f
I'm trying out my project on 3.3.0-rc1, but currently I'm using 2.8.11 and
2.8.12. I got a couple errors from CMP0046. Most of them are correct: I've
fixed a couple places where a non-existent dependency was used, and I want to
set this policy to NEW so that more do not sneak in.
However the
On 6/10/2015 12:57 PM, Chris Johnson wrote:
Hmm. It's a possibility.
But those files are generate when I run cmake, aren't they? So
re-running that would tend to overwrite any custom modifications I
made. And I have about 350 of them.
That is what install(CODE ...) will do for you. It will
Hmm. It's a possibility.
But those files are generate when I run cmake, aren't they? So re-running
that would tend to overwrite any custom modifications I made. And I have
about 350 of them.
I note that cmake_install.cmake simply uses the file(INSTALL ...) command.
How could I find the impleme
On Wednesday 10 June 2015 00:48:06 J Decker wrote:
> CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
>
> is this supposed to create some sort of ADD_DEFINITION( -DHAVE_STDINT_H) ?
No.
> if not what else do I have to do to make that work?
IF(HAVE_STDINT_H)
ADD_DEFINITION(HAVE_STDINT_H)
ENDIF()
If
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
is this supposed to create some sort of ADD_DEFINITION( -DHAVE_STDINT_H) ?
if not what else do I have to do to make that work?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ