Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (41 sloc) 1.995 kb
"""
This is OpenSource Project;
It's licensed on GPL/ LGPL public license;
It's written by Daniel (dmilith) Dettlaff since August 2oo8.
You can redistribute this project only with this header.
"""
import os
print 'scons script written by Daniel (dmilith[at]gmail[dot]com) Dettlaff (c) 2oo8'
release32 = Environment( CXX = 'g++ -m32 -Os -march=athlon64', tools = ["default", "PrecompiledHeadersBuilder"] )
release64 = Environment( CXX = 'g++ -O2 -march=athlon64' )
debug32 = Environment( CXX = 'g++ -m32 -O0 -ggdb -W' )
debug64 = Environment( CXX = 'g++ -O0 -ggdb -W' )
debug_optimized = Environment( CXX = 'ccache g++ -Os -march=athlon64 -fpch-preprocess', tools =["default", "PrecompiledHeadersBuilder"] )
# my_options = '-fpreprocessed -fsched-spec -fsched-spec-load -fsched-spec-load-dangerous -fsched-verbose=3 -fschedule-insns -pedantic-errors -fpch-preprocess -fexceptions -funit-at-a-time'
# release = debug64
release = debug_optimized
release_multi_libs = { 'purehl-sha': [ 'hashlib/hl_sha256wrapper.cpp',
'hashlib/hl_tools.cpp',
'hashlib/hl_sha1.cpp',
'hashlib/hl_sha1wrapper.cpp',
'hashlib/hl_sha256.cpp' ],
'purecore': [ 'core.cpp' ],
'puresoul': [ 'soul.cpp' ],
'purecharacter': [ 'character.cpp' ],
'purejob': [ 'job.cpp' ],
'purecoordinates': [ 'coordinates.cpp' ],
'pureitem': [ 'item.cpp' ],
'puremap': [ 'map.cpp' ],
'pureplace': [ 'place.cpp' ],
'puretheritory': [ 'theritory.cpp' ],
'pureworld': [ 'world.cpp' ]
}
for rl, rll in release_multi_libs.iteritems():
release.SharedLibrary( rl, rll )
#release.Program('main' , 'main2.cpp',
# LIBS=[ 'boost_thread', 'boost_filesystem', 'hl-sha', 'boost_serialization',
# 'job', 'character', 'coordinates',
# 'item', 'map', 'place', 'soul', 'theritory',
# 'world', 'purecore' ],
#, 'ruby' ],
# LIBPATH=[ '.', '/usr/local/lib', '/usr/lib' ])
Jump to Line
Something went wrong with that request. Please try again.