|
From: <sik...@us...> - 2006-05-17 00:18:56
|
Revision: 8 Author: sik0fewl Date: 2006-05-16 17:18:48 -0700 (Tue, 16 May 2006) ViewCVS: http://svn.sourceforge.net/perceptioncrash/?rev=8&view=rev Log Message: ----------- Fix SCons file Modified Paths: -------------- trunk/perceptioncrash/SConstruct Modified: trunk/perceptioncrash/SConstruct =================================================================== --- trunk/perceptioncrash/SConstruct 2006-05-17 00:00:42 UTC (rev 7) +++ trunk/perceptioncrash/SConstruct 2006-05-17 00:18:48 UTC (rev 8) @@ -1,3 +1,5 @@ +# SCons build file for Linux + import glob # create build environment @@ -3,4 +5,8 @@ env = Environment() +# Get library flags +env.ParseConfig('pkg-config --cflags --libs OGRE') +env.ParseConfig('pkg-config --cflags --libs CEGUI') + # gather a list of source files SOURCES = glob.glob('src/*.cpp') @@ -10,11 +16,8 @@ env.Append(CCFLAGS = ['-g', '-Wall']) # add additional libraries to link against -env.Append(LIBS = ['OgreMain','CEGUIBase','CEGUIOgreRenderer']) +env.Append(LIBS = ['CEGUIOgreRenderer']) -# add additional include paths -env.Append(CPPPATH = ['/usr/local/include/OGRE']) - # build target # output executable will be "game" -env.Program(target = 'game', source = SOURCES) +env.Program(target = 'perceptioncrash', source = SOURCES) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |