Skip to content

Commit

Permalink
add meson build system
Browse files Browse the repository at this point in the history
  • Loading branch information
agauniyal committed Sep 3, 2016
1 parent 904bf92 commit 0f421ee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
project('rang', 'cpp', version : '1.0',
default_options : ['cpp_std=c++11'])

inc = include_directories('include')
catch_inc = include_directories('test')

subdir('test')

rang_dep = declare_dependency(include_directories:inc)
8 changes: 8 additions & 0 deletions test/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
testexe = executable('testexe', 'test.cpp',
include_directories : [inc, catch_inc])

visualTestexe = executable('visualTestexe', 'visualTest.cpp',
include_directories : [inc, catch_inc])

test('app test', testexe)
test('visual test', visualTestexe)

0 comments on commit 0f421ee

Please sign in to comment.