Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread Kevin Ballard
On Mar 8, 2006, at 3:18 PM, William A. Hoffman wrote: Alright, since I can't afford to change cmake versions at this point in time, my temporary solution is to do a `make -n | grep libYMSG_s.a /dev/null` and if it returns a zero error code I know libYMSG_s.a is going to be rebuilt and I manual

[CMake] Problem with link directories

2006-03-08 Thread jolinda
Hi, I have a Visual Studio 7.0 project that was building fine using CMake-1.8 that won't build with version 2.2. I have a simple CMakeLists.txt file that includes things like: LINK_DIRECTORIES( ${DCMTK_PATH}/dcmdata/libsrc ${DCMTK_PATH}/dcmimage/libsrc ) When using version 1.8,

Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread William A. Hoffman
At 06:05 PM 3/8/2006, Kevin Ballard wrote: >On Mar 8, 2006, at 1:04 PM, William A. Hoffman wrote: > >>>The cmake I'm using is a source drop in our local perforce repository >>>and it's used by a bunch of projects. It's not very safe for me to >>>simply upgrade that cmake, especially to something th

Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread Kevin Ballard
On Mar 8, 2006, at 1:04 PM, William A. Hoffman wrote: The cmake I'm using is a source drop in our local perforce repository and it's used by a bunch of projects. It's not very safe for me to simply upgrade that cmake, especially to something that's not even a stable release. Can you point me to

Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread William A. Hoffman
At 03:57 PM 3/8/2006, Kevin Ballard wrote: >>>Oh, and the output of `cmake --version` is "cmake version 2.2- patch 3". >> >>This has been fixed in cvs cmake. > >The cmake I'm using is a source drop in our local perforce repository >and it's used by a bunch of projects. It's not very safe for me

Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread Kevin Ballard
On Mar 8, 2006, at 12:46 PM, William A. Hoffman wrote: #1) "$(CMAKE_COMMAND) -E remove -f" is unnecessary - $(RM) was already set to that higher up, so that should just be "$(RM) files" #2) When I poke around, this appears to be executing from the root directory of the project, not the ymsg/sou

Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread Sean McBride
On 2006-03-08 12:25, Kevin Ballard said: >I've been working on getting my cmake build setup building universal >binaries on Darwin. > > SNIP > >Oh, and the output of `cmake --version` is "cmake version 2.2-patch 3". In my spare time, I've been working on getting cmake to build itself as universal

Re: [CMake] Building static libraries fails to remove properly

2006-03-08 Thread William A. Hoffman
At 03:25 PM 3/8/2006, Kevin Ballard wrote: >I've been working on getting my cmake build setup building universal >binaries on Darwin. I finally got it to a point where it works, only >to discover that it only works on a clean build. If I touch any of my >source files and re-build it dies when

[CMake] Building static libraries fails to remove properly

2006-03-08 Thread Kevin Ballard
I've been working on getting my cmake build setup building universal binaries on Darwin. I finally got it to a point where it works, only to discover that it only works on a clean build. If I touch any of my source files and re-build it dies when trying to link the static library. The reaso

Re: [CMake] CTest newbie

2006-03-08 Thread Andy Cedilnik
Hi Vingesh, You will need the build directory to put the log/xml files in. Andy Vignesh M.P.N. wrote: Hi Andy: Thanks for your reply. You mean to say I need to include "NightlyStartTime" or all other keys that I've commented. I just tried running ctest -D ExperimentalStart -D Experim

RE: [CMake] CTest newbie

2006-03-08 Thread Vignesh M.P.N.
Hi Andy: Thanks for your reply. You mean to say I need to include "NightlyStartTime" or all other keys that I've commented. I just tried running ctest -D ExperimentalStart -D ExperimentalTest -D ExperimentalSubmit with the following config file. Site: localhost BuildName: VTeam-test DropSite:

Re: [CMake] SUBDIRS PREORDER semantics with ADD_DEPENDENCIES ?

2006-03-08 Thread Eric BOIX
Dear Brad King, Quoting Brad King <[EMAIL PROTECTED]>: > Just create one target in the subdirectory: > [...] > ADD_CUSTOM_TARGET(build_figs ALL DEPENDS ${ALL_OUT}) > > Then in the top level directory: > [...] > ADD_DEPENDENCIES(build_docs build_figs) Perfect semantics (for what I meant),

Re: [CMake] SUBDIRS PREORDER semantics with ADD_DEPENDENCIES ?

2006-03-08 Thread Brad King
Eric BOIX wrote: Here is a code snipet taken from my fig/CMakeLists.txt: FILE(GLOB MANUAL_FIG_GLOB "*.fig") FOREACH( filename ${MANUAL_FIG_GLOB} ) GET_FILENAME_COMPONENT( filenameNoExt ${filename} NAME_WE ) SET( filenameDest "${CMAKE_CURRENT_BINARY_DIR}/${filenameNoExt}.eps" )

Re: [CMake] cmake man page getting bigger

2006-03-08 Thread Chris Scharver
On 3/8/06, Andy Cedilnik <[EMAIL PROTECTED]> wrote: > Now, on the side note, you can always do: > > cmake --help-command command Any thoughts on adding case insensitivity to this command? When I'm working on the command line, I usually find it cumbersome to switch to ALL_CAPS typing each time I wa

[CMake] SUBDIRS PREORDER semantics with ADD_DEPENDENCIES ?

2006-03-08 Thread Eric BOIX
Dear CMake users, As Brad King states it in http://public.kitware.com/pipermail/cmake/2006-February/008339.html B. King> As of CMake 2.2 the PREORDER flag is not useful or needed. The make B. King> system that is generated does not recurse through the directory B. King> structure. I

Re: [CMake] Graphviz support in CMake

2006-03-08 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Cedilnik wrote: > Hello, > > I got tired of tracing dependencies between libraries by hand, so I > added support in CMake to dump out a graphviz file of all dependencies > between libraries. Example can be seen here: > > http://www.cmake.org/W

Re: [CMake] cmake man page getting bigger

2006-03-08 Thread Andy Cedilnik
Hi, I like this ideas. I would really like to see something like what perl has: man cmakefull man cmake - this is table of content man cmakemodules man cmakecommands man cmakevariables ... The same goes for HTML. Now, on the side note, you can always do: cmake --help-command command

Re: [CMake] Setting up working directory for target

2006-03-08 Thread William A. Hoffman
I don't think CMake can help here. That is not stored in the .sln or the vcproj. It is stored in some binary file that is used to keep the state. So unless someone figures out that format or finds an API for it, I think we will be unable to add that feature. -Bill At 06:38 AM 3/8/2006, Asmode

Re: [CMake] Setting up working directory for target

2006-03-08 Thread Asmodehn Shade
Working Directory is just the path to run the executable target from in debug mode.In VS 8 for example :Project -> Properties -> Debugging -> Working directoryAt the moment instead of having the working directory setup to the right directory, I have to copy my datafiles in the directory where the b

Re: [CMake] Bug or misusage ???

2006-03-08 Thread Philippe Poilbarbe
Brad King a écrit : ... Use a full path for BRATHL_UNITFILE: SET(BRATHL_UNITFILE "${CMAKE_CURRENT_BINARY_DIR}/brathl_units.dat") The problem is that relative paths are ambiguous in the case of custom commands. CMake versions up to 2.2 (current release) ignored relative paths listed as depende

Re: [CMake] cmake man page getting bigger

2006-03-08 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Neundorf wrote: > Hi, > > recently the cmake man page has become much bigger, which makes it a bit > harder to use. > > Two reasons: > -the extensive documentation for the new advanced FIND_XXX() commands. > Maybe this could be