Am 01.08.2017 um 21:18 schrieb David Cole:
> And in your file "src/CMakeLists.txt" do you add
> "${CMAKE_CURRENT_SOURCE_DIR}" (or anything else which resolves to the
> "src" directory) to your include directories?
No, there is none. I do not added one, since it built correctly.
I have no added
And in your file "src/CMakeLists.txt" do you add
"${CMAKE_CURRENT_SOURCE_DIR}" (or anything else which resolves to the
"src" directory) to your include directories?
The line which includes the header is
#include "mapping/..."
but there is no local subdirectory "mapping" relative to that file
Hi,
Am 01.08.2017 um 18:32 schrieb David Cole via CMake:
> What source files include the header?
It's included by src/mapping/config/MappingConfiguration.cpp
https://github.com/precice/precice/blob/develop/src/mapping/config/MappingConfiguration.cpp
What source files include the header?
Is one of them listed as a file in your project?
Does the **including** file exist at CMake configure time, or is it
generated later by a build step?
What do the lines of code that include the header look like?
CMake uses its own analysis of the source files
Hello,
on my project, which I'm currently testing with cmake, I just noticed, that
when I modify a header, the project is not
rebuilt.
The CMakeLists.txt in the root dir is here: https://pastebin.com/vfReTM1N
The other CMakeLists.txt resides in root/src and lists all the source (*.cpp)
files