[CMake] Relative Change?

Ken Martin ken.martin at kitware.com
Mon Sep 12 10:56:00 EDT 2005


The command is working according to its documentation. But..... looking at
it I think the command is written in a funny way that doesn't totally make
sense. People typically want to specify the source dir, and the binary dir
should be the optional argument. I'll look into changing around the command
to have a more reasonable behavior and signature. With a single relative
argument nothing will change which is how most people are using the command
right now. SO the change shouldn't impact too many folks.

Thanks
Ken

> bounces+ken.martin=kitware.com at cmake.org] On Behalf Of John Biddiscombe
> Sent: Monday, September 12, 2005 4:56 AM
> To: cmake at cmake.org
> Subject: [CMake] Relative Change?
> 
> PROJECT(MOLEKEL)
> 
> I've just noticed that if I
> ADD_SUBDIRECTORY(${MOLEKEL_SOURCE_DIR}/Utilities/Stuff)
> the cmake generated files go into the SOURCE dir
> but if I
> ADD_SUBDIRECTORY(Utilities/Stuff)
> they go into the BINARY dir as expected
> 
> cvs this morning. Has something changed? or broken?
> 
> JB




More information about the CMake mailing list