Hello, I don't understand how it would be problematic. CMake 2.8 would only be used to build Wt. From that moment on, you can use CMake 2.4 to build your project if you like.
On Tue, Sep 21, 2010 at 11:09 AM, omer katz <[email protected]> wrote: > Downloading CMake 2.8 is problematic for projects that depend on older > versions. > > 2010/9/20 Pau Garcia i Quiles <[email protected]> >> >> On Mon, Sep 20, 2010 at 8:53 AM, Koen Deforche <[email protected]> wrote: >> > Hey Pau, >> > >> > 2010/9/19 Pau Garcia i Quiles <[email protected]>: >> > We realize something like this would even be more useful for Windows, >> > and at this point we would not even mind having another solution >> > specifically for Windows. At the same time I am not sure how practical >> > CMake would be for a cross-platform easy-installer solution since >> > relying on CMake 2.8 kind of defeats the purpose of winst for UNIX >> > platforms: to checkout Wt on non-cutting edge OS/environments. >> > Currently, Wt still builds fine with CMake 2.4. >> >> I see. That should not be a problem. It should be possible to have a >> CMakeLists.txt with FILE( DOWNLOAD ... ) and ExternalProject_Add to >> replace winst. The only thing you need is something to bootstrap it >> for people using CMake < 2.8. >> >> My proposal: have a (very small) .sh for Unix users and a .bat for >> Windows users which FTP's to the CMake FTP server and downloads CMake >> 2.8, then FTP's to webtoolkit.eu and downloads that CMakeLists.txt. On >> Windows it is possible to automate the FTP download like this: >> >> -->8---------------------------------------------- >> echo "Downloading WGet" >> echo "open ftp.mirrorservice.org >> anonymous >> pass anonymous >> binary >> get >> /sites/download.sourceforge.net/pub/sourceforge/m/project/mi/mingw/mingwPORT/Current%20Releases/wget-1.9.1-mingwPORT.tar.bz2 >> bye >> " > mingw32.ftp >> ftp -s:mingw32.ftp >> -->8---------------------------------------------- >> >> Cut and paste that to a .bat and that'll download wget. The FTP server >> for CMake is ftp://www.cmake.org/pub/cmake (down now). >> >> On Unix there are so many different FTP clients I think assuming wget >> is available (or directly requiring it) would be the safest bet. You >> can then download a static, precompiled CMake binary from cmake.org >> (or even compile from source :-) >> >> What do you think? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
