can
be seen):
CMakeLists.txt
MyMacros/Setup.cmake
MyMacros/OtherStuff.cmake
lib1/CMakeLists.txt
lib2/CMakeLists.txt
Misc/CMakeLists.txt
prog_a/CMakeLists.txt
prog_b/CMakeLists.txt
foo/CMakeLists.txt
Is there some way to accomplish this, or somet
On Wed, Apr 20, 2016 at 5:54 PM, Brad King wrote:
> On 04/20/2016 10:01 AM, Johan Holmberg wrote:
> > I tried specifying "-GNinja" to cmake, and setting CC/CXX to
> > clang/clang++.
>
> Good.
>
> > But this didn't work. I get errors like:
> >
ndows, I was hoping to be able to
use Clang + Ninja on Windows almost like I use on Linux.
If I run Clang from the command line, I can build my application, so my
Clang-installation works.
I'm using CMake 3.5.1 and Clang 3.8.0.
/Johan Holmberg
--
Powered by www.kitware.com
Please keep me
/
I was hoping that after CMake have found the path to the compiler, it would
be possible to derive the path to the lib-directory from the compiler path.
But I don't understand how to do it in the toolchain file.
Is it possible, without hard-coding the path in the toolchain file?
/Johan Hol
until now I have
felt that "add_defintions" was a convenient way to add non -D options
too (and the documentation says "This command can be used to add any
flags, but it was originally intended to add preprocessor
definitions").
/Johan Holmberg
--
Powered by www.kitware.co
On Mon, Aug 16, 2010 at 2:25 PM, Andreas Pakulat wrote:
> On 16.08.10 14:06:21, Johan Holmberg wrote:
>
>> I work on Linux and have been using the Makefile:s generated by CMake to
>> build, using "make -k" at the top build directory.
>>
>> I assumed the t
sed build tree?
Is this a consequence of CMake:s use of recursive make calls?
And can I get the same effect as "make -k" in some other way?
I have now switched to trying to use "make -i", but as far as I
understand it does *too much*, e.g. trying to link a program where