Server programming in use...FiaDot

'boost::test'에 해당되는 글 1건

  1. 2009/02/13 Boost 1.38.0 Test만 빌드하는 방법
UnitTest를 위한 프레임웍을 살펴보던중 UnitTest++과 Boost::Test가 가장 눈에 띄었다.

UnitTest++ 다운 후 간단히 빌드가 되지만 Boost::Test를 사용하기 위해서는 몇가지 빌드 과정이 필요하다.

<준비>
XP+sp3, VS2005, boost 1.38.0

1. http://www.boost.org/ 에서 download로 가서 boost_1_38_0 파일을 다운로드

2. 압축을 풀고 tools/jam/src에서 build.bat 실행
   혹시 에러가 발생한다면
   (1) Path가 너무 많을때
   (2) 시작-프로그램-Microsoft Visual Studio 2005-Visual Studio Tools-Visual Studio 2005 명령프롬프트를 실행해서 해당 경로로 이동해서 실행

3. 해당 경로 밑에 bin.ntx86/bjam.exe가 생성됨.

D:\boost_1_38_0\tools\jam\src\bin.ntx86>set path=%path%;D:\boost_1_38_0\tools\jam\src\bin.ntx86

4. bjam으로 test release/debug 모두 빌드
D:\boost_1_38_0\libs\test\build>bjam -sBUILD=boost_unit_test_framework --toolset=msvc --build-type=complete

  인자 : 빌드옵션(release +  debug = complete)


시간 무지하게 걸린다 ㅡㅡ;;
2009/02/13 20:49 2009/02/13 20:49
Posted by FiaDot
Technical Article l 2009/02/13 20:49
1 

카테고리

전체 (676)
개인 (1)
Technical Article (273)
Diary (125)
Book (2)
Music (176)
DSP (19)
Tmp.Box (5)
Hardware (7)
Idea (60)
마이크로소프트웨어 (7)

달력

«   2010/09   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30