Hi Cory,
works like a charm!
(also without resetting COMPILE_DEFINITIONS)
Thanks a lot!
Lars
Gesendet: Freitag, 22. November 2013 um 14:11 Uhr
Von: "Cory Quammen"
An: "Lars Friedrich Lars"
Cc: cmake@cmake.org
Betreff: Re: [CMake] command line too long when
Lars,
When faced with this same problem, my workaround was to clear the list of
include directories. It also turned out I needed to clear the compiler
definitions passed with -D because nvcc choked on them. Here's how you do
that.
SET_DIRECTORY_PROPERTIES( PROPERTIES INCLUDE_DIRECTORIES "" )
SET_
Hello,
we're compiling CUDA code in a sub-library of a bigger project which depends on ITK, VTK, Qt, RTK and a further proprietary library.
The CMakeLists.txt of this sub-library looks somehow like this:
#
SET(OWN_LI