SConstruct
author Radek Brich <radek.brich@devl.cz>
Tue, 08 Apr 2008 01:05:12 +0200
branchpyrit
changeset 60 a23b5089b9c3
child 61 7006036eb0db
permissions -rw-r--r--
moving to SCons build system
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
60
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
Decider('MD5-timestamp')
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
# CXX=icpc
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
# CCFLAGS=-g -fno-strict-aliasing -I$(ROOT)/include
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
# -Wall | -w1
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
# float: -fsingle-precision-constant
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
# double: -DPYRIT_DOUBLE
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
(objs,pymodule) = SConscript('src/SConscript', build_dir='build/lib', duplicate=0)
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    10
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    11
SConscript('ccdemos/SConscript', build_dir='build/ccdemos', duplicate=0, exports='objs')
a23b5089b9c3 moving to SCons build system
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    12
SConscript('demos/SConscript', build_dir='build/demos', exports='pymodule')