| 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) 시간 무지하게 걸린다 ㅡㅡ;; "Technical Article" 카테고리의 다른 글
|
'boost::test'에 해당되는 글 1건
- 2009/02/13 Boost 1.38.0 Test만 빌드하는 방법

댓글을 달아 주세요