On Tue, Jan 31, 2012 at 2:23 PM, Brad King <[email protected]> wrote:
> On 1/28/2012 11:36 AM, [email protected] wrote:
>>
>> Is it possible to get CMake to process/search for an alternative
>
>> default filename to CMakeLists.txt?
>
> Not currently.  We're not fundamentally opposed to the idea, but it may
> be tricky to get the interface right.  Should the alternate name be used
> in *all* directories?  Should it be configurable on a per-subdirectory
> basis?  What if you have some third-party subdirectories that you're
> not touching?  Should it be an ordered list of names to check?  Does the
> rule apply to try_compile projects?  Do we keep the information in the
> CMakeCache.txt?  Once it is switched for the top-most directory should
> that one need to tell add_subdirectory what name to use for a subdir?
>

Brad,

All these considerations are important but maybe we could just do
first the easy path which is: add a -f option which change the default
name every where, for all sub-directories, try_compile, etc...

[...]

-Nico
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to