hardcodes.de


Build CEGUI library on OSX

Sep 18, 06:22 PM

Get the source code from the CEGUI homepage.
Open the terminal and enter

cd <folder with source code>
ln -s ../<folder with pre-built dependencies>/build/dependencies
# check link
ls
mkdir build
cd build
# I want FreeType2 support
# I want regex validation of text fields
# assuming you want the samples, too
cmake -G Xcode _DCEGUI_HAS_FREETYPE:BOOL=ON -DCEGUI_HAS_PCRE_REGEX:BOOL=ON -DCEGUI_SAMPLES_ENABLED:BOOL=ON -Wno-dev ..
xcodebuild -configuration Debug -jobs 2
xcodebuild -configuration Release -jobs 2

The result is in <folder with source code>/build/lib and <folder with source code>/build/bin.

Sven Putze

,





Search

RSS / Atom



© by Sven Putze

Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
All trademarks and trade names are the property of their respective holders. Using glyphicons.