cs: Implementing fake CS
refs #1129
Change-Id: I1aa2e9dcea5a8f298b254f13ad651ced22118471
diff --git a/wscript b/wscript
index 2561467..c3b46b1 100644
--- a/wscript
+++ b/wscript
@@ -52,10 +52,16 @@
return
def build (bld):
+ bld(target = "nfd-objects",
+ features = "cxx",
+ source = bld.path.ant_glob(['daemon/**/*.cpp'], excl=['daemon/main.cpp']),
+ use = 'BOOST NDN_CPP',
+ )
+
bld(target = "nfd",
features = "cxx cxxprogram",
- source = bld.path.ant_glob(['daemon/**/*.cpp']),
- use = 'BOOST NDN_CPP',
+ source = 'daemon/main.cpp',
+ use = 'nfd-objects',
)
# Unit tests
@@ -64,7 +70,7 @@
target="unit-tests",
features = "cxx cxxprogram",
source = bld.path.ant_glob(['tests/**/*.cpp']),
- use = 'BOOST NDN_CPP',
+ use = 'nfd-objects',
includes = [".", "daemon"],
install_prefix = None,
)