[Getdata-commits] SF.net SVN: getdata:[539] branches/getdata-0.7/README.win
Scientific Database Format
Brought to you by:
ketiltrout
From: <syn...@us...> - 2011-03-22 10:32:16
|
Revision: 539 http://getdata.svn.sourceforge.net/getdata/?rev=539&view=rev Author: syntheticpp Date: 2011-03-22 10:32:10 +0000 (Tue, 22 Mar 2011) Log Message: ----------- update cmake instructions Modified Paths: -------------- branches/getdata-0.7/README.win Modified: branches/getdata-0.7/README.win =================================================================== --- branches/getdata-0.7/README.win 2011-03-22 10:09:57 UTC (rev 538) +++ branches/getdata-0.7/README.win 2011-03-22 10:32:10 UTC (rev 539) @@ -103,18 +103,27 @@ This package supports building GetData using either Microsoft's Visual C++ compiler or else the free MinGW compiler, both which produce native Win32 binaries. -To create a project file for Microsoft Visual Studio 10 execute: +Best practice is to build out of source. Call CMake in the build folder and +point it to the 'cmake' folder within the GetData source. For instance, +to create a project file for Microsoft Visual Studio 10 execute: - cmake -G"Visual Studio 10" . + cmake -G"Visual Studio 10" ..\getdata-0.7\cmake -from the "cmake" subdirectory of this package. Then build the project as usual. -The GetData test suite may be run by executing +Then build the project as usual. +The GetData test suit could be ebabled by setting the GD_TEST variable: + cmake . -DGD_TEST=1 -which will run a series of self-tests. +In Visual Studio run the test by building the 'RUN_TESTS'. Using mingw +or nmake run the tests by calling ctest. +The install path could be set via the variable CMAKE_INSTALL_PREFIX. +By default it installs to <build-dir>/INSTALLED. + + + PREREQUISITES ============= This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |