X-Git-Url: https://harishankar.org/repos/?p=biaweb2.git;a=blobdiff_plain;f=SConstruct;fp=SConstruct;h=d9a37941274341f74aa2546ad0cf1db7e116718f;hp=0000000000000000000000000000000000000000;hb=1d6e80c91ca5a6c4551d89e7a1979490c2505745;hpb=59a75c2a800a51ad8b40c7b5e643d92adc0a6389 diff --git a/SConstruct b/SConstruct new file mode 100644 index 0000000..d9a3794 --- /dev/null +++ b/SConstruct @@ -0,0 +1,14 @@ +env = Environment () +env.Append (CXXFLAGS = '-std=c++17') +conf = Configure (env) +if not conf.CheckCHeader ("mkdio.h"): + print ("markdown header mkdio not found. Install libmarkdown2-dev or equivalent") + Exit (1) +if not conf.CheckCXXHeader ("fmt/format.h"): + print ("libfmt header file fmt/format.h not found. Install the libfmt-dev or equivalent") + Exit (1) +env = conf.Finish () +biaweb = env.Program (target='biaweb', source=['biaweb.cpp'], + LIBS=['fmt', 'markdown'], LIBPATH=['/usr/lib', '/usr/local/lib']) +Default (biaweb) +