On Jan 13, 2008 4:23 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> Martin Lütken wrote:
> > That's great then. Do you know who to address in order to get the patch
> > into the CVS code ?
> >
>
> Actually, what about something like this:
>
> # CMakeLists.txt
> INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/${CML_NAME}")
>
> cmake /path/to/proj -DCML_NAME:STRING="mycmake1.txt"
> cmake /path/to/proj -DCML_NAME:STRING="mycmake2.txt"
>
>
> No changes needed to CMake at all...."Not needing to change CMake" may be useful for my own purposes, as I have to ship with production versions of CMake, and I was planning to wrap command line ugliness in a script anyways. But CMake is changed all the time in order to better it. I don't see how "let's leave well enough alone" is an argument in this case. In terms of command line elegance, your solution leaves much to be desired over cmake -f mycmake1.txt cmake -f mycmake2.txt Especially in the eyes of the Autoconf + GMake crowd, whom we'd like to convert. Do you have a serious objection to CMake having a -f flag? Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
