From f429e2c55f77d5869683d902c9f4d96df1678d6c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 3 May 2017 09:18:25 +0200 Subject: Get rid of legacy build systems --- libstudxml/buildfile | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'libstudxml/buildfile') diff --git a/libstudxml/buildfile b/libstudxml/buildfile index 1cc0203..668de68 100644 --- a/libstudxml/buildfile +++ b/libstudxml/buildfile @@ -15,8 +15,8 @@ lib{studxml}: \ details/{hxx }{ export.hxx } \ details/{hxx }{ post.hxx } \ details/{hxx }{ pre.hxx } \ -details/build2/{h }{ config } \ -details/build2/{h }{ config-vc } + details/{h }{ config } \ + details/{h }{ config-vc } # Expat. Note that we treat a whole bunch of its sources as files since they # are private and #include's (including .c file). @@ -60,11 +60,11 @@ else # We are a mixed C/C++ library, though C is implementatio-only, kind of: we # need headers but not symbols. # -cc.poptions =+ "-I$out_root" "-I$src_root" -DLIBSTUDXML_BUILD2 +cc.poptions =+ "-I$out_root" "-I$src_root" obja{*}: cc.poptions += -DLIBSTUDXML_STATIC_BUILD objs{*}: cc.poptions += -DLIBSTUDXML_SHARED_BUILD -lib{studxml}: cc.export.poptions = "-I$out_root" "-I$src_root" -DLIBSTUDXML_BUILD2 +lib{studxml}: cc.export.poptions = "-I$out_root" "-I$src_root" liba{studxml}: cc.export.poptions += -DLIBSTUDXML_STATIC libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED @@ -73,19 +73,3 @@ libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED # install.include = $install.include/libstudxml/ install.include.subdirs = true # Recreate subdirectories. - -# We want these to be picked up even when LIBSTUDXML_BUILD2 is not defined. -# -details/build2/: -{ - if ($cxx.id == "msvc") - { - h{config}@./: install = false - h{config-vc}@./: install = $install.include/details/ - } - else - { - h{config}@./: install = $install.include/details/ - h{config-vc}@./: install = false - } -} -- cgit v1.1