Logo
Explore Help
Register Sign In
Cr8-xyz/blender
1
0
Fork 0
You've already forked blender
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
fbc1cc712f281e1cf61f40d70f09f8479506e018
blender/extern/binreloc/SConscript

14 lines
278 B
Python
Raw Normal View History

Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started. This uses binreloc - http://autopackage.org/docs/binreloc/ it should also solve the problem of python scripts not being found.
2008-01-18 15:10:17 +00:00
#!/usr/bin/python
import sys
import os
Import('env')
defs = 'ENABLE_BINRELOC'
cflags = []
sources = ['binreloc.c']
incs = 'include'
== SCons == * bring back 'player' libtype, after investigation with ideasman. scons/mingw works nicely, for some reason msvc fails to link still, will look further into it.
2009-09-05 01:58:02 +00:00
env.BlenderLib ( 'extern_binreloc', sources, Split(incs), Split(defs), libtype=['extern','player'], priority=[36,225], compileflags = cflags)
Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started. This uses binreloc - http://autopackage.org/docs/binreloc/ it should also solve the problem of python scripts not being found.
2008-01-18 15:10:17 +00:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 1143ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API