-Original Message-
From: rcdai...@gmail.com [mailto:rcdai...@gmail.com] On Behalf Of Robert
Dailey
Sent: Sunday, August 23, 2015 02:43
To: James Johnston
Cc: CMake
Subject: Re: [CMake] How to depend on external cmake projects?
On Mon, Aug 17, 2015 at 10:17 AM, James Johnston
jam
On Mon, Aug 17, 2015 at 5:17 PM, James Johnston jam...@motionview3d.com
wrote:
[...] Your own CMake projects will be
ExternalProjects to this high-level project and the superbuild would pass
the location to your project via -Dproject_DIR=location so that
find_package can locate the Config
On Mon, Aug 17, 2015 at 10:17 AM, James Johnston
jam...@motionview3d.com wrote:
Well, you'd do this in conjunction with ExternalProject_Add. A well-written
CMake external project will provide a projectConfig.cmake file which you
will then find using find_package.
After toying around with this
Robert,
1. If it's a library you are not modifying, only linking to, then you don't
need its targets in your projects. You just need to clone, build and
install it before running cmake for your actual project. It can be
accomplished in various ways:
- you can clone it as a submodule or manually
-Original Message-
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert
Dailey
Sent: Sunday, August 16, 2015 13:32
To: CMake
Subject: [CMake] How to depend on external cmake projects?
There are certain repositories on Github I'd like to pull in as a
dependency
There are certain repositories on Github I'd like to pull in as a
dependency. These repositories already use CMake to build their source
code. Based on personal experience and reading material online, there
are a couple of different options:
1. Pull down the repository as a submodule to my own
-- Forwarded message --
From: Robert Dailey rcdailey.li...@gmail.com
To: CMake cmake@cmake.org
Cc:
Date: Sun, 16 Aug 2015 08:32:08 -0500
Subject: [CMake] How to depend on external cmake projects?
There are certain repositories on Github I'd like to pull