[Live-devel] Windows builds
Jeff Shanab
jshanab at smartwire.com
Sat Nov 19 09:11:06 PST 2011
I know there has in the past been requests for windows builds but windows changes their and breaks their own build system so much, it is not worth it. However, I use the FireBreath plugin framework (http://www.firebreath.org/display/documentation/FireBreath+Home) and I really like the way CMAKE works.
He has a prep script prepmac, prepmake, prepeclipse, prep2008,prep2010....and so on and CMAKE generates the entire build directory. One make fiel definition that is very similar to traditional make systems and any number of a large group of targets.
It has proven ideal for this crossplatform and even just cross Visual Studio versioning.
The prep scripts for the *nix side are trivial
=====prepmake.sh=============
#!/bin/bash
if [ "${GEN}" = "" ]; then
GEN='Unix Makefiles'
fi
source ${0%/*}/common.sh "$@"
pushd "$BUILDDIR"
cmake -G "$GEN" -DFB_PROJECTS_DIR="${PROJDIR}" "$@" "${FB_ROOT}"
pop
=========prep2010.cmd============
@echo off & setlocal enableextensions enabledelayedexpansion
set _FB_GEN="Visual Studio 10"
call "%~d0%~p0\common.cmd" %*
if %errorlevel% == 2 exit /b 1
call "%~d0%~p0\winprep.cmd
Wouldn't such a system be great for live555? (Taxillian on freenode->firebreath is the author )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111119/1944f12b/attachment.html>
More information about the live-devel
mailing list