first checkin

This commit is contained in:
Bob 2012-11-04 21:25:34 +01:00
commit 8eb8117da3
3 changed files with 58 additions and 0 deletions

22
src/main.cpp Normal file
View file

@ -0,0 +1,22 @@
/*
* bitvis
* Copyright (C) Bob 2012
*
* bitvis is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* bitvis is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
int main (int argc, char *argv[])
{
}

BIN
waf vendored Executable file

Binary file not shown.

36
wscript Normal file
View file

@ -0,0 +1,36 @@
#! /usr/bin/env python
# encoding: utf-8
# the following two variables are used by the target "waf dist"
VERSION='0.0.1'
APPNAME='bitvis'
# these variables are mandatory ('/' are converted automatically)
top = '.'
out = 'build'
def options(opt):
opt.load('compiler_cxx')
def configure(conf):
conf.load('compiler_cxx')
conf.check(header_name='jack/jack.h')
conf.check(lib='pthread', uselib_store='pthread', mandatory=False)
conf.check(lib='m', uselib_store='m', mandatory=False)
conf.check(lib='jack', uselib_store='jack')
conf.check(function_name='clock_gettime', header_name='time.h', mandatory=False)
conf.check(function_name='clock_gettime', header_name='time.h', lib='rt', uselib_store='rt', mandatory=False,
msg='Checking for clock_gettime in librt')
conf.write_config_header('config.h')
def build(bld):
bld.program(source='src/main.cpp',
use=['m','pthread','rt', 'jack'],
includes='./src',
cxxflags='-Wall -g -DUTILNAMESPACE=BitVisUtil',
target='bitvis')