Notes |
|
(0039454)
|
Brad King
|
2015-09-21 08:52
|
|
CMake does not try to interpret include flags that are not specified through the include_directories or target_include_directories commands. Therefore the Makefile generator dependency scanner does not know about the specified directory.
The Ninja generator should work because it asks the compiler to report dependency information, and that has the full command line. |
|
|
(0039455)
|
danilcha
|
2015-09-21 08:58
|
|
Also tried with gmake 4.1, the same results. |
|
|
(0039456)
|
danilcha
|
2015-09-21 09:05
|
|
|
|
(0039457)
|
Brad King
|
2015-09-21 09:11
|
|
> But what is Ninja generator and how to use it?
When running CMake directly in a fresh build tree one can specify a generator, e.g.
cmake ../src -GNinja
That will generate build files for the "ninja" build tool instead of "make".
If you're using CMake through CLion then I don't know whether the generator can be selected in this way. |
|
|
(0039458)
|
danilcha
|
2015-09-21 09:12
|
|
|
|
(0039459)
|
Brad King
|
2015-09-21 09:12
|
|
I'm resolving this as a duplicate of 0015491 because that issue covers the underlying problem of supporting -iquote. That issue is actually linked from the article linked in 0015753:0039456. |
|
|
(0039460)
|
danilcha
|
2015-09-21 09:13
|
|
|
|
(0040412)
|
Robert Maynard
|
2016-02-01 09:10
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|