2.) Checkout origin/V7_5-cmake-stage-publicbranch, for windows you will need git 1.6.4 or greater. -3.) cmake ./CMakeLists.txt or run cmake-gui (*NOTE* - will default to PROPER build on *nix, for platform specific configs see nmi_tools/glue/SubmitInfo.pm) +3.) run nmi_tools/glue/SubmitInfo.pm to find the platform-specific args (Configure Args) to pass to cmake. -4.) Now you can run make or open the visual studio solution file. +4.) cmake [configure args] ./CMakeLists.txt + +(or run cmake-gui (*NOTE* - will default to PROPER build on *nix) + +You may want to make the above cmake command with configure args an alias. + +5.) Now you can run make or open the visual studio solution file. *Windows Only:* Prior to building for the 1st time there are some prerequisites that you will need to perform -5.) Install the lastest platform SDK and reopen the solution +6.) Install the lastest platform SDK and reopen the solution *:http://msdn.microsoft.com/en-us/windows/dd146047.aspx *:Currently it is http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&displaylang=en -6.) Download and install WiX 3.0 on your windows machine +7.) Download and install WiX 3.0 on your windows machine *:http://wix.codeplex.com/ -7.) Download and install 7-zip (you will need to add it to your PATH) +8.) Download and install 7-zip (you will need to add it to your PATH) *:http://www.7-zip.org/download.html -8.) Patch your version of cmake/cpack to enable wix support by dropping the following into your cmake path. You may want to verify with a diff tool such as beyond compare when updating. +9.) Patch your version of cmake/cpack to enable wix support by dropping the following into your cmake path. You may want to verify with a diff tool such as beyond compare when updating. *:https://docs.google.com/leaf?id=0Bzq0eFfVveNqZTgxNjQyZmItNmEyNy00MWZlLTg2NTktMzJiYjljMDc3NTQ0&sort=name&layout=list&num=50 -9.) Open Tools->Options under "Projects and Solutions" click on VC++ Directories and add the following to the *Executable* directories +10.) Open Tools->Options under "Projects and Solutions" click on VC++ Directories and add the following to the *Executable* directories *:$(SolutionDir)\msconfig *:Move $(PATH) to the bottom as sometimes C:\cygwin\bin is in the $(PATH) which can cause issues with condor's bundled binaries. -10.) Open and build. +11.) Open and build. {section: Contributing} All of the updated cmake files exist under src directories and are open to contribution. The current branch tracks against master(7.5 series).