2011-03-01から1ヶ月間の記事一覧

scons on windows その5(64bit build)

vc2010 express editionをwindows7(64bit)にインストールしている場合 import os vs_path='C:\\Program Files (x86)\\Microsoft Visual Studio 10.0' vc_path=vs_path+'\\VC' sdk_path='C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1' AddOption('--arc…

scons on windows その3(Tool)

sconsにはToolという概念があって、これがコンパイラやリンカのセットを表している。WindowsだとvcやMinGWなどがあり、Linuxだとgccだ。さらに32bitと64bitがあるのでWindowsのCは環境がいろいろあるぞと。 # 無指定 env = Environment() # Default。たぶん…

scons on windows その2(tolua++のSConstructを読む)

tolua++がSConstructを使っているので読んでみる。 とりあえずビルドしてみる。 「Visual studio コマンドプロンプト」で開始。 > cd \work\tolua++-1.0.93 > scons scons: Reading SConscript files ... scons: warning: The Options class is deprecated; …

scons on windows その1

blenderとかtolua++のビルドシステムに使われているsconsを調べているのでメモ。sconsはプロジェクトビルドのうち、makeの機能を代替するpython製のツールだ。依存性を解決してコンパイラを呼び出して、リンカを呼び出すというあれ。blenderだとsconsに加え…

scons on windows その4(Blender)

blenderのsconsをvc10対応させる --- build_files/scons/tools/mstoolkit.py (リビジョン 35779) +++ build_files/scons/tools/mstoolkit.py (作業コピー) @@ -67,6 +67,8 @@ # look for toolkit if os.environ.has_key('VCToolkitInstallDir'): MSToolkitDi…

自動ビルドツールを作った

名付けてcross compile scripthttps://github.com/ousttrue/ccsgentooのemergeみたいに依存性を解決して自動でアプリをビルドするツールです。luaで記述しております。当初は、もっとクロスコンパイル(Linux to Mingwとか)になる予定だったのだけど、主にMsy…