1project('hash', 'cpp', 2 default_options: ['buildtype=release', 3 'cpp_std=c++14', 4 'warning_level=1', 5 'werror=false', 6 'strip=true', 7 #'b_sanitize=undefined', 8 'b_asneeded=true', 9 'b_lundef=true', 10 'b_lto=false' 11 ]) 12 13CXXFLAGS = '' 14CXXFLAGS = CXXFLAGS.split(' ') 15 16LDFLAGS = '' 17LDFLAGS = LDFLAGS.split(' ') 18 19sources = files('main.cpp') 20 21exe = executable('hash', sources, 22 #cpp_args: CXXFLAGS, 23 #link_args: LDFLAGS 24 ) 25