summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-25 14:46:53 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-25 14:46:53 +0900
commitefd336887f9c46e66b304def0aa5fc5e16dc990f (patch)
tree2fc99a6af87abb951e3521f24fa7bfefb1696b63 /SConstruct
parent2bebeef81bd723b0b09c748d5e3331e51b48db60 (diff)
Cleanup scons files.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct23
1 files changed, 8 insertions, 15 deletions
diff --git a/SConstruct b/SConstruct
index 219997ca91..6d88d52f00 100644
--- a/SConstruct
+++ b/SConstruct
@@ -120,21 +120,14 @@ Export([
if platform == 'winddk':
- import ntpath
- escape = env['ESCAPE']
- env.Tool('winddk', '.')
- if 'BASEDIR' in os.environ:
- WINDDK = os.environ['BASEDIR']
- else:
- WINDDK = "C:\\WINDDK\\3790.1830"
- # NOTE: We need this elaborate construct to get the absolute paths and
- # forward slashes to msvc unharmed when cross compiling from posix platforms
- #env.Append(CPPFLAGS = [
- # escape('/I' + ntpath.join(WINDDK, 'inc\\wxp')),
- # escape('/I' + ntpath.join(WINDDK, 'inc\\ddk\\wxp')),
- # escape('/I' + ntpath.join(WINDDK, 'inc\\ddk\\wdm\\wxp')),
- # escape('/I' + ntpath.join(WINDDK, 'inc\\crt')),
- #])
+ env.Tool('winddk', ['.'])
+
+ env.Append(CPPPATH = [
+ env['SDK_INC_PATH'],
+ env['DDK_INC_PATH'],
+ env['WDM_INC_PATH'],
+ env['CRT_INC_PATH'],
+ ])
env.Append(CFLAGS = '/W3')
if debug: