Ahh, I believe I answered my own question.
There seems to be a new function, ExternalProject_Install_CMake, Im
testing it out now.
Thanks!
-Jameson
On Thu, Aug 7, 2014 at 2:19 PM, jmerkow [via CMake] <
ml-node+s3232098n7588095...@n2.nabble.com> wrote:
> Jc,
>
> I guess I spoke too soon on my
Jc,
I guess I spoke too soon on my 'last question.' How does make install work
with this superbuild system.
Looking at slicer and ctk, they seem to set INSTALL_COMMAND to "" in their
superbuild.cmake, but presumably these packages still install even with
superbuild mode on.
Can you offer any adv
Jc,
Thank you! This is what Im looking for. I've been having some trouble with
these paths in other places too ([1]), but haven't had the time to go back
and redo it.
-Jameson
[1]
http://cmake.3232098.n2.nabble.com/CMAKE-RUNTIME-OUTPUT-DIRECTORY-inconsistent-between-make-and-Xcode-td7586922.ht
Hi Jameson,
There is indeed a recipe, assuming you are using
ExternalProjectDependency.cmake from Artichoke [1], if you pass the
variable to your project using ${CMAKE_CFG_INTDIR} it will be automatically
passed as CMAKE_ARGS (instead of CMAKE_CACHE_ARGS) to external project and
it will be expende
Ok I have one final question.
One of the project is built using CMake but does not contain a config file.
On unix systems (make file based generators) it works fantastic, but with
windows (and I presume xcode), the libraries are output to the buildtype
directory. i.e. Debug/ or Release/. I can a
Jc,
I'm working on an open source project, but we're no quite ready to release it
to the world yet. We will likely post it on github or another hosting website
(publicly) in the coming months and I'll be sure to let you know. We are
looking at an early fall release date.
Jameson
—
Sent
Hi Jameson,
Glad to know you sorted out the issue.
By any chance, do you think you could share a link to a github repository
with your project ? That would allow us to review how you integrated
"ExternalProjectDependency" and improve it.
Thanks
Jc
On Sun, Jun 8, 2014 at 9:39 PM, jmerkow wrote
Ok, So I've converted my project to a super build system with
ExternalProjectDependency. I ended up going through and re writing most of
my project (most of it was written while I was learning CMake and was pretty
ugly). It is extremely useful. It seems that superbuilds are very popular,
it seems
P.S. I'm thinking we may want to move this off the CMake mailing list?
Some of us are lurking and reading this thread with interest... It
would be ok to keep it on the CMake mailing list unless it goes on an
entirely non-ExternalProject tangent. :-)
David C.
--
Powered by www.kitware.com
Jc,
Im been updating my CMakeLists.txt to do this superbuild. But I am running
into an error. Im not sure why...
My project is something like the following:
cmake_minimum_required(VERSION 2.8.8)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake"
Hi Jameson,
That is indeed the idea.
To clarify even further,
1) the call to
ExternalProject_Include_Dependencies [1]
should be added before "ExternalProject_Add". It will recursively include
the needed dependencies.
2) By simply adding an additional parameter:
by default ${_EP_AR
Jc,
Thanks a lot this may be exactly what I am looking for.
Basically I include ExternalProjectDependency in my project, then
mark_as_superbuild() options/vars that I want to pass back to the 'normal'
build. Add the external project with 'CMAKE_CACHE_ARGS' and this will pass
those variables to
Hi Jameson,
To specifically address the issue you described, I started to develop an
(experimental) module extending ExternalProject and providing some
convenience function.
Documentation is far from being perfect but looking at
(1) the tests: https://github.com/commontk/Artichoke/tree/master/
I see, that makes a lot of sense. And in order to pass options from the
'superbuild' build to the 'normal' build you make them options as command
line args in your ExternalProhect_Add command? i.e.:
set( proj my_prog )
ExternalProject_Add( ${proj}
DOWNLOAD_COMMAND ""
SOURCE_DIR "${${p
On 2014-06-02 17:48, jmerkow wrote:
> I want to add VTK as an external project, but I have a few questions.
>
> Looking online at examples of other projects using vtk as an
> external project, many of them use a 'superbuild' style technique
> [...] they have some option to enable SuperBuild (or a
Hello,
I want to add VTK as an external project, but I have a few questions.
Looking online at examples of other projects using vtk as an external
project, many of them use a 'superbuild' style technique (example here from
the archives: [1]).
By that I mean that they have some option to enable
16 matches
Mail list logo