scons
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| scons [2009/08/11 12:41] – suapapa | scons [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 윈도에서 scons 설치하기 ====== | ||
| + | *파이썬 2.6.x설치 | ||
| + | *[[http:// | ||
| + | *제어판-> | ||
| + | |||
| ====== basic ====== | ====== basic ====== | ||
| 정적라이브러리 | 정적라이브러리 | ||
| Line 31: | Line 36: | ||
| dbg.Program(d) | dbg.Program(d) | ||
| </ | </ | ||
| + | 환경 추가 | ||
| + | <code python> | ||
| + | env.Append(CCFLAGS = " | ||
| + | env.Append(LINKFLAGS = " | ||
| + | </ | ||
| + | |||
| ====== install ====== | ====== install ====== | ||
| install 이라는 alias를 생성 | install 이라는 alias를 생성 | ||
| Line 47: | Line 58: | ||
| Install file: " | Install file: " | ||
| </ | </ | ||
| + | ====== custom builder ====== | ||
| + | 외부 명령어 foobuild를 쓸 때 | ||
| + | <code python> | ||
| + | bld = Builder(action = ' | ||
| + | env = Environment(BUILDERS = {' | ||
| + | env.Foo(' | ||
| + | env.Foo(' | ||
| + | </ | ||
| + | 파이썬 코드를 쓸 때 | ||
| + | <code python> | ||
| + | def build_function(target, | ||
| + | # Code to build " | ||
| + | return None | ||
| + | bld = Builder(action = build_function, | ||
| + | env = Environment(BUILDERS = {' | ||
| + | env.Foo(' | ||
| + | </ | ||
| + | ====== references ====== | ||
| + | *[[http:// | ||
| + | *[[http:// | ||
| + | *[[http:// | ||
scons.1249994467.txt.gz · Last modified: 2013/08/03 05:04 (external edit)