Re: [CMake] Patch for Sphinx warning message

2015-07-15 Thread Andrew Maclean
No worries, I should have wiped my build directory before testing too. On 15 Jul 2015 11:54 pm, "Brad King" wrote: > On 07/14/2015 01:13 PM, Brad King wrote: > > Applied with slight tweaks: > > Utilities/Sphinx: Use 'classic' theme for Sphinx >= 1.3 > > http://cmake.org/gitweb?p=cmake.git;a=co

Re: [CMake] Exporting/Publishing settings (e. g. include directories) from subdirectories

2015-07-15 Thread Jakob van Bethlehem
Hej Rainer, > > project-dir > +- component1 > | +- src > | +- include-dir1 > | +- include-dir2 > +- component2 > > Let's say I want "component2" to add "include-dir1" and "include-dir2" > from "component1" as include directories without "component2" knowing > that these two directories exist.

Re: [CMake] Patch for Sphinx warning message

2015-07-15 Thread Brad King
On 07/14/2015 01:13 PM, Brad King wrote: > Applied with slight tweaks: > Utilities/Sphinx: Use 'classic' theme for Sphinx >= 1.3 > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e59a7d7e [snip] On 07/14/2015 06:56 PM, Andrew Maclean wrote: > Thanks, that looks much better than what I did! I

Re: [CMake] Linking own header files to a source code

2015-07-15 Thread J Decker
and INCLUDE_DIRECTORIES On Tue, Jul 14, 2015 at 10:19 AM, Micha Hergarden wrote: > Hello, > > You don't seem to tell cmake what executable you want and what sources it > is made up of. Take a look at the 'add_executable' and 'add_library' > commands. To create an executable from the sources, yo