Build files locations, try 2

Some time ago, I have raised the concern that CMakeList.txt files violate directory structure requirements. See: http://thread.gmane.org/gmane.comp.lib.boost.devel/189496/ Back then, the discussion did not lead anywhere, and no further progress was made for 2.5 months. So, let me try to phrase this a bit differently. Is it fine with everybody if I move Jamfiles out of 'build' folder of every library one level higher? Thanks, Volodya

Vladimir Prus wrote:
Some time ago, I have raised the concern that CMakeList.txt files violate directory structure requirements. See:
http://thread.gmane.org/gmane.comp.lib.boost.devel/189496/
Back then, the discussion did not lead anywhere, and no further progress was made for 2.5 months. So, let me try to phrase this a bit differently. Is it fine with everybody if I move Jamfiles out of 'build' folder of every library one level higher?
I guess I've really got no say on this one as a non-boost developer, but: Keeping the build files in the build subdirectory helps in maintaining a clean, understandable and maintainable directory structure. I've myself implemented a directory structure similar (I don't have the "monolithic include" directory) to Boost's in several projects with good results. I also support some other build tools and IDEs using tool-specific subdirs of the build directory itself, e.g. "<project>/build/msvc8", as I believe some of the Boost libraries do as well (not officially supported, though). Why not keep Jamfiles in the immediate "build" subdir as long as Boost.Build is the "official" build system for Boost (which I hope it will remain), and add support for other build systems in separate subdirs, e.g. "build/cmake". I realize that some build tools and IDEs have a hard time keeping at least one of their configuration files out of the project's (here, most commonly, library's) root directory - Visual Studio (.sln files) and Komodo (.kpf files) come to mind - but it is almost always doable. What on earth would come next; having a "Makefile" in the library root directory? Heaven forbid ;-) Regards, Johan Nilsson

Vladimir Prus wrote:
Some time ago, I have raised the concern that CMakeList.txt files violate directory structure requirements. See:
http://thread.gmane.org/gmane.comp.lib.boost.devel/189496/
Back then, the discussion did not lead anywhere, and no further progress was made for 2.5 months. So, let me try to phrase this a bit differently. Is it fine with everybody if I move Jamfiles out of 'build' folder of every library one level higher?
Ping? I would really prefer this question to be settled, as opposed to having different build files in different places for yet another release. Thanks, Volodya

Vladimir Prus wrote:
Vladimir Prus wrote:
Some time ago, I have raised the concern that CMakeList.txt files violate directory structure requirements. See:
http://thread.gmane.org/gmane.comp.lib.boost.devel/189496/
Back then, the discussion did not lead anywhere, and no further progress was made for 2.5 months. So, let me try to phrase this a bit differently. Is it fine with everybody if I move Jamfiles out of 'build' folder of every library one level higher?
Ping?
I would really prefer this question to be settled, as opposed to having different build files in different places for yet another release.
Personally, I would prefer to keep all project files (including Jamfiles and CMake files) in a separate directory, such as build. Perhaps, there should be subdirectories in the build dir, such as bjam, cmake, vs2005, vs2008 and so on. It just looks more clean and convenient to me. However, I'm not familiar with CMake and I don't know if it poses any problems to it.

Vladimir Prus wrote:
Some time ago, I have raised the concern that CMakeList.txt files violate directory structure requirements. See:
http://thread.gmane.org/gmane.comp.lib.boost.devel/189496/
Back then, the discussion did not lead anywhere, and no further progress was made for 2.5 months. So, let me try to phrase this a bit differently. Is it fine with everybody if I move Jamfiles out of 'build' folder of every library one level higher?
Ping 2? Just in case the context is already lost, I would appreciate if one of the following options be "officially" selected: 1. Files named CMakeLists.txt moved to 'build' directory. 2. Files named Jamfile.v2 moved outside of 'build' directory, and library requirements adjusted. 3. The library requirements document is removed from the web site, since apparently nobody cares what it say any longer :-( - Volodya
participants (4)
-
Andrey Semashev
-
Johan Nilsson
-
Vladimir Prus
-
Vladimir Prus