I'm using the ExternalProject_Add function and I've run into a problem
downloading a tar file. It creates a zero length file and fails when the
MD5 check fails. I have logging active, but I'm not seeing anything
useful. I have other tar files from external sites that are downloaded
successfully
I'm building external packages in my CMake system using the
ExternalPackages_Add function. When a package is built this way and I
execute a 'make clean' at the top of my build tree, all targets are
cleaned including the external packages. Is there a way to remove the
external package targets
I was wondering what the scope of the variables set in a FindXXX.cmake
file is and does find_package_handle_standard_args change that scope.
For example, I create a FindBar.cmake file that sets Bar_INCLUDE_DIR,
Bar_LIBRARY, Bar_INCLUDE_DIRS and Bar_LIBRARIES, and calls
find_package_handle_stan
David Cole wrote:
On Wed, Sep 21, 2011 at 11:45 AM, Lori Pritchett-Sheats
wrote:
Reading the documentation it is not clear how the DEPENDS option works in
ExternalProject_Add.
For example, I add HDF5 to my build and HDF5 depends on zlib the following
doesn't work
find_package
Reading the documentation it is not clear how the DEPENDS option works
in ExternalProject_Add.
For example, I add HDF5 to my build and HDF5 depends on zlib the
following doesn't work
find_package(ZLIB)
add_library(zlib UNKNOWN IMPORTED)
set_target_properties(zlib PROPERTIES IMPORTED_LOCATION
I'm trying to build a very simple example from the SWIG documentation
http://www.swig.org/Doc2.0/SWIGDocumentation.html#Introduction_build_system
There is a code snippet that demonstrates how to use SWIG in a CMake
build system, but I can not get this simple example to build on a Linux
platform
My project needs to create and install a Makefile that other client
projects could import to link against our project. T
I have a simple template file that generates an exported Makefile using
the configure_file command, however I'm struggling with how to create a
variable that contains all th
I have a project that depends on HDF5. A user can either specify an
existing installation and thus use a find_package or choose to have HDF5
built with the project. I've been using Paraview as a template to
implement this but I can't seem to get the dependencies for my project
defined correctl
Hi
I had not seen a reply to your question and I thought I give my $0.02.
I'm fairly new to CMake and I've run into this problem as well.
The only solution I came up with was calling find_package(HDF5 ... *)
again if it fails the first time. On my project, I search for HDF5 using
find_packag
After reading the documentation, target_link_libraries allows a user to
pass a list with keywords debug, optimized and general to indicate which
set of libraries to use when CMAKE_BUILD_TYPE is set. Is there a
command, function or macro that parses lists that have these keywords
and returns the
10 matches
Mail list logo