require "mspcore";
require "sigc++-2.0";
- if "arch!=win32"
+ if_arch "!windows"
{
require "xlib";
};
- if "arch=win32"
+ if_arch "windows"
{
build_info
{
};
feature "devil" "Include DevIL support for loading image files";
- if "with_devil"
+ if_feature "devil"
{
- require "devil";
+ require "IL";
};
feature "libpng" "Include libpng support for loading PNG files"
{
default "yes";
};
- if "with_libpng"
+ if_feature "libpng"
{
require "libpng";
};
{
default "yes";
};
- if "with_opengl"
+ if_feature "opengl"
{
require "opengl";
};
- feature "xf86vidmode" "Include support for video mode switching with xf86vidmode (not win32)";
- if "with_xf86vidmode and arch!=win32"
+ if_arch "!windows"
{
- build_info
+ feature "xf86vidmode" "Include support for video mode switching with xf86vidmode";
+ if_feature "xf86vidmode"
{
- library "Xxf86vm";
+ build_info
+ {
+ library "Xxf86vm";
+ };
};
};
- headers "msp/graphics"
- {
- source "source/graphics";
- install true;
- };
-
- headers "msp/input"
- {
- source "source/input";
- install true;
- };
-
library "mspgui"
{
source "source/graphics";
source "source/input";
install true;
+ install_map
+ {
+ map "source" "include/msp";
+ };
};
program "ev"
};
};
- tarball "@src"
+ source_tarball
{
source "License.txt";
source "Changelog.txt";