diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-11 16:26:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-11 16:26:43 +0400 |
commit | 5f341a846b78df701686a56da7caf61c087a716f (patch) | |
tree | 902eb747ce8d0f186f146a966be6f5231271156e /SConstruct | |
parent | 51182bc78d993126645b20e38349760f1a697966 (diff) |
startup.blend and preview.blend are now converted to C at build time.
made some changes to startup.c
- change default player to internal since its working now.
- added new screen for full screen 3d viewport (nice for demo's and navigating)
- disable cursor depth option (was enabled by default because of re-used flag)
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 53e1911a3e7..349aa9dd2fa 100644 --- a/SConstruct +++ b/SConstruct @@ -450,8 +450,11 @@ if not os.path.isdir ( B.root_build_dir): ################################### if not os.path.isdir ( B.root_build_dir + 'data_headers'): os.makedirs ( B.root_build_dir + 'data_headers' ) +if not os.path.isdir ( B.root_build_dir + 'data_sources'): + os.makedirs ( B.root_build_dir + 'data_sources' ) # use for includes env['DATA_HEADERS'] = os.path.join(os.path.abspath(env['BF_BUILDDIR']), "data_headers") +env['DATA_SOURCES'] = os.path.join(os.path.abspath(env['BF_BUILDDIR']), "data_sources") def ensure_data(FILE_FROM, FILE_TO, VAR_NAME): if os.sep == "\\": FILE_FROM = FILE_FROM.replace("/", "\\") @@ -487,6 +490,14 @@ ensure_data("source/blender/compositor/operations/COM_OpenCLKernels.cl", B.root_build_dir + "data_headers/COM_OpenCLKernels.cl.h", "clkernelstoh_COM_OpenCLKernels_cl") +ensure_data("./release/datafiles/startup.blend", + B.root_build_dir + "data_sources/startup.blend.c", + "datatoc_startup_blend") + +ensure_data("./release/datafiles/preview.blend", + B.root_build_dir + "data_sources/preview.blend.c", + "datatoc_preview_blend") + ##### END DATAFILES ########## Help(opts.GenerateHelpText(env)) |