Sorry, didn't know that detail... On Mon, Aug 23, 2010 at 11:52 AM, Dieter Rosch <die...@bbd.co.za> wrote: > The CMake generated solution files contain custom steps that reference CMake, > so you can't use them without having CMake installed. The reasons for this > are not in the scope of the current discussion, but suffice to say they are > valid. > > > > -----Original Message----- > From: Sean Farrell [mailto:sean.farr...@rioki.org] > Sent: 22 August 2010 17:30 PM > To: UnitTest++ development and use > Subject: Re: [unittest-cpp-devel] cmake? > > Here is an idea, use CMake and generate the common build scripts > (Makefile, vcproj(6-10)) automatically and check them in. That way you > get the benefit of one source for a build script and the convenience > for those that want to just fire up Visual Studio and hit build. > > Just an idea, you know. > > Sean > > On Thu, Aug 19, 2010 at 1:21 PM, Gianfranco Berardi > <gbera...@gbgames.com> wrote: >> Simmons, Aaron wrote: >>> I've noticed that UnitTest++ is going through a lot of trouble to maintain >>> build scripts for each platform (a Makefile, two versions of MSVC project >>> files, etc). >>> >>> Have you considered CMake? It's a makefile builder that abstracts the >>> platform-specific parts of build systems (sort of like Autoconf, but more >>> cross-platform). It can build makefiles, nmake files, MSVC project files >>> (v6 thru v10), and even Eclipse and XCode project files. In my own project >>> it made a huge difference in the pain involved in supporting multiple >>> platforms. >>> >>> Anyway, I just started using UnitTest++ in my project (so far I think it's >>> the best unit testing framework for C/C++!) and had to integrate it with >>> our CMake build scripts. Since I went through the trouble of getting >>> UnitTest++ to work with CMake, I thought you might be able to make use of >>> it. >>> >>> Below is CMakeLists.txt: >> >> Wow, this is fantastic! I just moved to CMake for my cross-platform >> build scripts, and knowing that your script exists will make it much >> easier for me to integrate UnitTest++! Thank you for this! >> >> As for people worried that CMake will somehow takeover, it can stand >> side-by-side with the other build scripts. Also, CMake can be used to >> create MSVS solutions, as I understand it, but I've only been exploring >> this tool in the last couple of days on the Linux-based end. >> >> -- >> GBGames' Blog, An Indie Game Developer's Somewhat Interesting Thoughts: >> http://www.gbgames.com/blog >> Follow me on Twitter: http://www.twitter.com/GBGames >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ >> unittest-cpp-devel mailing list >> unittest-cpp-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel >> > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > unittest-cpp-devel mailing list > unittest-cpp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > unittest-cpp-devel mailing list > unittest-cpp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ unittest-cpp-devel mailing list unittest-cpp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel