Registered 2009-10-17 by Haakon Sporsheim

A build system using msbuild on windows

HSbuild allows you to easily set up dependencies to other software packages using pkg-config.

Currently it supports building C/C++ and Vala source code.

PREREQUISITES:
========================================================
1. Visual Studio.
    * Visual Studio 2008 standard edition or higher.
    * or Visual C++ 2008 Express (this only have x86 32bit toolchain)
    * (Support for VS2005 is also available, but must currently be enabled manually)
    * (Support for VS2010 should be available soon)
2. Not needed, but you should install perl - http://www.activestate.com/activeperl/
    * GLib and GObject based modules need perl as a part of the toolchain.

HSBUILD:
========================================================
1. Download and install latest hsbuild-*.msi ----->
2. Compose your own or optionally download a .modules file
    * You'll find my working copy here:
          http://dl.dropbox.com/u/2119862/hsbuild/stable/hs-stable.modules
          http://dl.dropbox.com/u/2119862/hsbuild/hs-unstable.modules (HEAD of all modules)

BUILD (using hsbuild.exe tool):
========================================================
1. Create a new directory on your hard drive and copy the .modules file here.
2. Open a command prompt. cmd.exe.
3. Change directory to where you have your .modules file.
4a. (opt) run 'hsbuild list' to list all modules in the .modules file.
4b. run 'hsbuild build <module>'
    * use -c <Release|Debug> to specify configuration
    * use -p <x86|x86_64> to specify platform to build for
5. Locate the output under __build__

BUILD (using msbuild):
========================================================
1. Compose or use an existing .hsproj file for the module you want to build.
2. Open a Microsoft Visual Studio 2008 command prompt (see start menu).
3. set HSBUILD_PREFIX_PATH=<my prefix>\ environment variable.
    * e.g. set HSBUILD_PREFIX_PATH=c:\hsbuild_output\
    * The prefix MUST be terminated with a backslash!
3. (opt) Change directory to where you have your .hsproj file.
4. run 'msbuild <filename>.hsproj'/'msbuild <solutionfile>.sln'
    * use -p:Configuration=<Release|Debug> to specify configuration
    * use -p:Platform=<x86|x86_64> to specify platform to build for

Project information

Maintainer:
OAH Developers
Driver:
OAH Developers
Development focus:

trunk series 

lp:hsbuild 
Browse the code

Programming Languages:
C, C#, Vala
Licences:
GNU GPL v3

RDF metadata

View full history Series and milestones

hsbuild trunk series is the current focus of development

Get Involved

Downloads

Latest version is 0.2
released on 2010-03-29

All downloads