From ac87e3827b214c0ba1bd1c17a2d8a18026637d3f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Aug 2019 12:06:03 +0300 Subject: Move cxx build system module to separate library --- build2/buildfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'build2/buildfile') diff --git a/build2/buildfile b/build2/buildfile index 7f4187e..fd9cec6 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -7,7 +7,7 @@ import libs = libbutl%lib{butl} include ../libbuild2/ libs += ../libbuild2/lib{build2} -for m: bash bin c cc in version +for m: bash bin c cc cxx in version { include ../libbuild2/$m/ libs += ../libbuild2/$m/lib{build2-$m} @@ -43,15 +43,6 @@ for t: cxx{**.test...} # obj{b}: cxx.poptions += -DBUILD2_HOST_TRIPLET=\"$cxx.target\" -# Pass native C and C++ compiler paths (not forgetting to escape backslashes -# on Windows). These are used as defaults for BUILD2_DEFAULT_*. -# -if ($cxx.target == $build.host) -{ - cxx/obj{init}: cxx.poptions += \ - -DBUILD2_NATIVE_CXX=\"$regex.replace($recall($cxx.path), '\\', '\\\\')\" -} - if ($cxx.target.class != 'windows') { if ($cxx.target.class == 'linux') -- cgit v1.1