Write waf build scripts for catalog and unit tests

refs #2596

Change-Id: I384b618ebd2b3126cef5ec524d43525a7df5b780
diff --git a/catalog/tests/wscript b/catalog/tests/wscript
new file mode 100644
index 0000000..21e0b09
--- /dev/null
+++ b/catalog/tests/wscript
@@ -0,0 +1,44 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+"""
+ Copyright (c) 2013-2015,  Regents of the University of California,
+                    2015,  Colorado State University.
+
+ This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
+
+ ndn-cxx library is free software: you can redistribute it and/or modify it under the
+ terms of the GNU Lesser General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+
+ You should have received copies of the GNU General Public License and GNU Lesser
+ General Public License along with ndn-cxx, e.g., in COPYING.md file.  If not, see
+ <http://www.gnu.org/licenses/>.
+
+ See AUTHORS.md for complete list of ndn-cxx authors and contributors.
+"""
+
+top = '..'
+
+def build(bld):
+    # unit test objects
+    unit_tests_objects = bld(
+        target="unit-test-objects",
+        name="unit-test-objects",
+        features="cxx",
+        source=bld.path.ant_glob(['unit-tests/**/*.cpp']),
+        use='ndn-cxx BOOST',
+        includes='.',
+        install_path=None)
+
+    # unit test app
+    bld(features='cxx cxxprogram',
+        target='../unit-tests',
+        name='unit-tests-main-unit',
+        source="main.cpp",
+        use='ndn-cxx unit-test-objects BOOST',
+        install_path=None)
+