- Dependencies for Building
- Config for Building Crackpot
- Hudson Settings
- Setting Hudson as a Service
- Visual Studio for devenv
- cmake
- cygwin to execute shell
Under Build > Execute Shell, put:
# define build and installation directories
BUILD_DIR=$WORKSPACE/crackpot_root_dir/build
SOURCE_DIR=$WORKSPACE/crackpot_root_dir
# we want to have a clean build
cd "$BUILD_DIR"
# initializing the build system
cmake -G "Visual Studio 9 2008" "$SOURCE_DIR"
# fire-up the compiler
# NOTE: put denenv in system path
devenv.com Crackpot.sln /clean Debug /project ALL_BUILD
devenv.com Crackpot.sln /build Debug /project ALL_BUILD
devenv.com Crackpot.sln /build Debug /project RUN_TESTS
# define source directories
SOURCE_DIR=$WORKSPACE/crackpot_root_dir
# we want to have a clean build
cd "$SOURCE_DIR"
doxygen
Hudson Settings
Environment Variables:
key: PATH
value: %PATH%;C:\Program Files\CMake 2.6\bin;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Windows\System32;C:\Program Files\doxygen\bin
Shell executable:
C:\cygwin\bin\sh.exe
Setting Hudson as a Service
There was some issue with using the Hudson built-in way to set as service. I followed this and this.
No comments:
Post a Comment