You may find the technique described at the following link useful (also
based on ExternalProject, but slightly different take on how it's used):
https://crascit.com/2015/07/25/cmake-gtest/
On Fri, Apr 29, 2016 at 1:58 AM, Chuck Atkins
wrote:
> This looks well suited to ExternalProject. Just g
Hello,
I think I've found a bug in the ninja generator. I wonder if it's fixed
already in a more recent cmake version.
I'm using cmake 3.3.1. My project uses ExternalProject_Add() to pull some
pre-built binaries from an internal repository in some configurations. In
other configurations however t
Hi Guys,
I'd like to discuss changing the defaults of CMAKE_C/CXX_FLAGS_RELEASE
on gcc, and potentially gcc like compilers such as clang and intel.
Currently the default is "-O3 -DNDEBUG". I would like to discuss
changing this to "-O3 -march=native -mtune=native -DNDEBUG". This change
will e
This looks well suited to ExternalProject. Just give it an empty configure
and build steps and then have the install step perform the copy:
include(ExternalProject)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(3rdParty_SUBDIR x64)
else()
set(3rdParty_SUBDIR x86)
endif()
ExternalProject_Add( 3rdParty
I am looking for a better way to do something than having a sequence of
"if (NOT EXISTS)" statements. My package being built depends on some
external libraries and headers, that are available in a zip file on an
external website. So for example: zlib.h,zlib.dll and zlib.lib are
(along with o
Hi CMake/CTest users and Developers.
I actually have a question about CTest and hope this is the right list
to ask it.
I am confused by CTest behavior when doing dynamic analysis with
valgrind (MemCheck). The issue I am having is that CTest does not output
test results in the generated XML i