[CMake] Re: Out of source build and KDevelop
Bill Hoffman
bill.hoffman at kitware.com
Fri Oct 15 11:36:15 EDT 2004
I ran this on the CMake project and ended up with this:
./CMake.kdevelop
./CMake.kdevelop.filelist //empty
./Source/CMake.kdevelop
./Source/CMake.kdevelop.filelist // most of the files
./Source/CTest/Curl/CMake.kdevelop
./Source/CTest/Curl/CMake.kdevelop.filelist
./Source/CursesDialog/form/CMake.kdevelop
./Source/CursesDialog/form/CMake.kdevelop.filelist
./Source/kwsys/CMake.kdevelop
./Source/kwsys/CMake.kdevelop.filelist
./Utilities/CMake.kdevelop
./Utilities/CMake.kdevelop.filelist
./Utilities/cmexpat/CMake.kdevelop
./Utilities/cmexpat/CMake.kdevelop.filelist
I think it should look like the visual studio 7 projects.
Like this:
./CMake.sln // contains all targets in cmake
./Source/CTest/Curl/LIBCURL.sln // This is a sub project of CMake that can be loaded by itself
./Source/kwsys/cmsys.sln // this is a sub project of CMake
./Utilities/cmexpat/CMEXPAT.sln // this is another sub project
The names should be the project name and not repeated.
-Bill
At 06:59 PM 10/14/2004, Alexander Neundorf wrote:
>Hi,
>
>attached you can find a patch against current cmake cvs which makes the
>kdevelop generator work as expected (at least by me). It is also slightly
>cleaned up.
>It works together with the newly introduced <filelistdirectory> tag in
>kdevelop, which will be part of kdevelop from the next version on (3.1.2)
>and from current cvs, both HEAD and KDE_3_3_BRANCH.
>With this patch cmake generates a project file and a filelist file for
>every CMakeLists.txt which contains targets. The files are created in the
>buidl dir, they only refer to the source dir as the project dir (so that
>kdevelop finds the files). Nothing is created inside the source dir.
>
>Please commit :-)
>
>Bye
>Alex
>
>
>--
>GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
>+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
>_______________________________________________
>CMake mailing list
>CMake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list