In this example, how do I get
make foo.cc
to work?
0 Thu 16:56:19 yost DaveBook ~/p/c++/cmake/custom-command-target
369 Z% bundle CMakeLists.txt genFoo
#!/usr/bin/env unbundle
# See http://yost.com/computers/bundle/
CMakeLists.txt
cmake_minimum_required(VERSION 3.3.0)
project(custom-c
Hi,
What is the official recommended way to make your project depend on
other libraries using cmake?
Let's say my project wants to depend on a library PKG1 (here PKG1 can
be MPFR, MPC, PTHREAD, GMP, BZIP2, you name it). Let's say the library
is installed in $PKG1/include, $PKG1/lib, alternatively
On 11 June 2015 at 15:22, Johannes Zarl-Zierl
wrote:
> 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 ... )
>
> AFAIK target namespaces
I am proud to announce the second CMake 3.3 release candidate.
Sources and binaries are available at:
http://www.cmake.org/download/
Documentation is available at:
http://www.cmake.org/cmake/help/v3.3
Release notes appear below and are also published at
http://www.cmake.org/cmake/help/v3.3
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 ... )
AFAIK target namespaces are intended for imported targets, not "regular"
targets:
"A NAMES