[CMake] include_directories - newbie

2009-07-17 Thread Mark Lohry
I have this snipped in my cmakelists: IF( EXISTS "/someabsolutedirectory/unixem-1.8.2/include/glob2.h" ) message( "/someabsolutedirectory/unixem-1.8.2/include/glob2.h exists" ) ENDIF( EXISTS "/someabsolutedirectory/unixem-1.8.2/include/glob2.h" ) INCLUDE_DIRECTORIES( "/someabsolutedirectory/u

Re: [CMake] appending srcs to custom_target, or doxygen support

2009-07-01 Thread Mark Lohry
perfect, thank you On Wed, Jul 1, 2009 at 11:22 AM, Tyler Roscoe wrote: > On Wed, Jul 01, 2009 at 11:03:10AM -0500, Mark Lohry wrote: > > in ./src/lib1/cmakelists.txt I have: > > > > if(DOXYGEN_EXECUTABLE AND UNIX) > > IF(EXISTS ${PROJECT_SOURCE_DIR}/${DOXYGEN_CO

[CMake] appending srcs to custom_target, or doxygen support

2009-07-01 Thread Mark Lohry
Apologies if this has been covered, but I'm only seeing occasional references to doxygen in the archives. Is there any built-in mechanism for some kind of "make doc" to invoke building documentation through doxygen, or does it require ADD_CUSTOM_TARGET? Presuming there isn't, I have several libra

Re: [CMake] Handling library interdependencies

2009-06-17 Thread Mark Lohry
) undefined reference to (function in sublib1 or sublib2)", despite these subdirectory sources having been compiled and linked into the static library. Any thoughts on why these subdirectories wouldn't be linking correctly? On Wed, Jun 17, 2009 at 12:10 AM, Michael Wild wrote: >

Re: [CMake] Handling library interdependencies

2009-06-16 Thread Mark Lohry
Correct, it fails when linking the executables with the libraries. On Tue, Jun 16, 2009 at 6:08 PM, Tyler Roscoe wrote: > Don't forget to cc the list! Especially since I'm not sure what else I > can tell you. > > On Tue, Jun 16, 2009 at 05:24:08PM -0500, Mark Lo

Re: [CMake] Handling library interdependencies

2009-06-16 Thread Mark Lohry
the libraries and executables separately; it fails on the link step after this, with "undefined reference" to every library function used. I'm unfamiliar with 'nm', can you be more specific as to what I should be looking for? On Tue, Jun 16, 2009 at 4:55 PM, Tyler Roscoe w

[CMake] Handling library interdependencies

2009-06-16 Thread Mark Lohry
Novice question: I have a number of subdirectories, each containing source to be built into their own libraries, which contain many interdependencies. I'm trying to build an executable to link against these libraries, and I'm getting a console full of "undefined reference to..." errors on linking

Re: [CMake] cpack hello world, empty packages - novice warning

2009-06-10 Thread Mark Lohry
#x27;t think cpack >> will automatically build your project for you. Just a guess. >> >> _ >> Mike Jackson mike.jack...@bluequartz.net >> BlueQuartz Softwarewww.bluequartz.net >> Pr

[CMake] cpack hello world, empty packages - novice warning

2009-06-10 Thread Mark Lohry
1) where is the best place for documentation for cmake/cpack? Is there any free equivalent to the autotools book? the sporatic examples coupled with sparse documentation hasn't made the transition as simple as expected :) 2) sorry for the novice nature of this question, but I'm just not seeing wha