aprovy / cpp-ut-project Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/cpp-ut-project
Automatically exported from code.google.com/p/cpp-ut-project
cpp-ut-project Introduction ( V1.1 ) User Guide ========== This is a C/C++ test sample project, using testngpp, mockcpp and premake. It aims at making C/C++ test harmless and full of fun. This project not only can generate project files, but also can create .h/.cpp/test files for class/feature, run "premake4 --usage addfile" to show more. Before you use this project, be sure about that you have compiled testngpp and mockcpp, and have put the installed files in tools, see also the structure of dir. And then you can use this project following these steps. Windows ------- 1 Run cmd, change to the UserModule dir, run "premake4 vs2005". (or use "premake4 --nomemcheck vs2005" to generate project without memchecker) 2 Change to ../build/vs2005 dir, use the .sln/vcproj. Linux ----- 1 Install premake4.( Copy the file in tools/bin to /usr/local/bin) 2 Run cmd, change to the UserModule dir, run "premake4 gmake". (or use "premake4 --nomemcheck gmake" to generate project without memchecker) 3 Change to ../build/gmake dir, run "make all". premake VS. cmake ================= 1 premake can add all the *.cpp/*.h to vcproj easily, it's very usefull for editing. 2 premake can be used on machines without compilers installed. (sometimes, cmake report unintelligible errors about compiler.) 3 premake use lua language to write the script. (lua is simple and powerfull.) 4 premake is much smaller. (one exe file around 200 bytes.) 5 premake also can be used on many platforms, such as linux/Mac OS etc., and it seems that premake support 64 bit platform much better. Contact =========== Project : http://code.google.com/p/cpp-ut-project/, Author : Chen Guodong<[email protected]> See Also =========== testngpp : http://code.google.com/p/test-ng-pp/ mockcpp : http://code.google.com/p/mockcpp/ premake : http://industriousone.com/premake The directory structure of cpp-ut-project : 念岸tools 岫 念岸3rdparty 岫 岫 念岸boost 岫 岫 弩岸mem_checker 岫 念岸mockcpp 岫 岫 念岸include 岫 岫 弩岸lib 岫 念岸scripts 岫 弩岸testngpp 岫 念岸bin 岫 念岸include 岫 念岸lib 岫 弩岸testngpp 岫 念岸generator 岫 弩岸listener 弩岸UserModule 念岸include 岫 弩岸UserModule 念岸src 弩岸test
tools目录的内存检查工具(mem_checker)的文件没有发布
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 3:53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.