On Mon, Oct 11, 2010 at 11:20 AM, Koen Deforche <[email protected]> wrote:
> Hey Pau,
>
> 2010/9/21 Pau Garcia i Quiles <[email protected]>:
>>> That would indeed solve the CMake 2.8 dependency. But you still need
>>> an entirely separate 'installation' procedure to install most of Wt's
>>> dependencies installed by winst, like libharu, libgraphicsmagick, et
>>> al, which are on UNIX './configure; make; make install' projects.
>>
>> ExternalProject_Add was added to take care of all that. There is an
>> introductory article here:
>>
>> http://www.kitware.com/products/archive/kitware_quarterly1009.pdf
>
> Interesting, but there is no word about how this works on WIN32
> platforms for which ./configure is almost certainly a fail ?

For Windows platforms you need to use IF(WIN32), IF(MSVC), IF(MINGW),
etc and invoke the Windows build system for that library:
- libpng contains Visual Studio solutions in the 'projects' directory
and makefiles for NMake, MinGW and CygWin in 'scripts'
- zlib is CMake-ified. There are also Makefiles in the 'win32'
directory, in case you want to use them (which I strongly advise
against :-)
- Boost is CMake-ified but the CMake-ified version stagnates at least
a couple of versions. It'd be better to invoke bjam (on all platforms)
- OpenSSL has its own build-system, which requires Perl
(FILE(DOWNLOAD... ) again :-). Instructions are in INSTALL.W32
- libgd is also CMake-ified

You can uncompress tarballs/zipfiles with "cmake -E tar ...". It
requires a recent version of CMake (2.8.0 IIRC), which should not be a
problem since winst downloads the latest CMake :-)

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to