*.la
*.a
-debug
-release
docs/doxygen/html
docs/doxygen/latex
docs/doxygen/man
-.sconsign.dblite
*.log
*.old
.cproject
.project
-/Debug/
+
+# CMake
+CMakeCache.txt
+CMakeFiles/
+CTestTestfile.cmake
+Makefile
+cmake_install.cmake
+build/
+Testing/
+install_manifest.txt
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif(NOT CMAKE_BUILD_TYPE)
+message(STATUS "CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}")
# Build output directory:
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY build/${CMAKE_BUILD_TYPE}/bin)
# Install
-# see http://stackoverflow.com/questions/14084759/keep-a-single-files-permissions-when-using-install-in-cmake
-####set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/deploy")
-####install(FILES build/lib/libtools_static.a DESTINATION lib)
-####install(PROGRAMS build/lib/libtools_shared.so DESTINATION lib)
-####install(PROGRAMS build/bin/hello DESTINATION bin)
+message(STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}")
+# Binaries:
+file(GLOB_RECURSE BINARIES ${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_BUILD_TYPE}/bin/*)
+install(PROGRAMS ${BINARIES} DESTINATION bin)
+# Headers:
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/anna/ DESTINATION include)
+# Libraries:
+file(GLOB_RECURSE LIBRARIES ${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_BUILD_TYPE}/lib/*)
+install(FILES ${LIBRARIES} DESTINATION lib)
+
# Add target for API documentation with Doxygen
find_package(Doxygen)
You could use my pre-commit specific template if you want to do some basic checkings (i.e.
astyle code processing): Execute './scripts/git/use-pre-commit.sh'
-## Documentation
-Execute 'scons doc'
+## Build project
-## Unit tests
+This is a CMake based building suite.
+Install cmake:
-Execute 'scons test'
+ > sudo apt-get install cmake
-## Examples
+And then generate the makefiles from project root directory:
-Execute 'scons example' to generate example binaries
+ > cmake .
-## Install
+You could specify type of build, 'Debug' or 'Release', for example:
-Execute 'sudo scons install-include' for only headers
-Execute 'sudo scons install-lib' for only libraries
-Execute 'sudo scons install-include-and-lib' for headers & libraries
-Execute 'sudo scons install-example' for only example binaries/resources
-Execute 'sudo scons install' to install the whole suite
+ > cmake -DCMAKE_BUILD_TYPE=Debug .
+ > cmake -DCMAKE_BUILD_TYPE=Release .
-## Uninstall
-
-Execute 'sudo scons uninstall'
+## Clean project
+ > make clean
## Some basic ubuntu requirements
-### Scons python-based building suite:
- sudo apt-get install scons
-
### OpenSSL:
- sudo apt-get install libssl-dev
+ > sudo apt-get install libssl-dev
### Gnome XML:
- sudo apt-get install libxml2-dev
+ > sudo apt-get install libxml2-dev
### OpenLDAP:
- sudo apt-get install libldap2-dev
+ > sudo apt-get install libldap2-dev
### Pcap:
- sudo apt-get install libpcap-dev
+ > sudo apt-get install libpcap-dev
### MySql:
- sudo apt-get install libmysqlclient-dev
+ > sudo apt-get install libmysqlclient-dev
### Oracle:
https://help.ubuntu.com/community/Oracle%20Instant%20Client
Be sure to create in that directory, a link to oracle includes,
for example:
- <user>@<host>:/usr/lib/oracle/12.1/client64$ ls -lrt
+ > /usr/lib/oracle/12.1/client64$ ls -lrt
total 8
drwxr-xr-x 2 root root 4096 Feb 28 15:59 bin
drwxr-xr-x 2 root root 4096 Feb 28 15:59 lib
### Oracle-OpenLDAP conflict:
as usual, Oracle is doing things very bad. Move the ldap.h from oracle includes, i.e.:
- cd /usr/include/oracle/12.1/client64
- sudo mv ldap.h ldap.h.orig
+ > cd /usr/include/oracle/12.1/client64
+ > sudo mv ldap.h ldap.h.orig
+
+### Google Test Framework:
+
+ > sudo apt-get install libgtest-dev
+
+ Note that this package only install source files. You have to compile the
+ code yourself to create the necessary library files. These source files
+ should be located at /usr/src/gtest. Browse to this folder and use cmake
+ to compile the library:
+
+ > cd /usr/src/gtest
+ > sudo cmake CMakeLists.txt
+ > sudo make
+
+ Copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder:
+ > sudo cp *.a /usr/lib
+
+## Documentation
+
+Execute 'make doc'
+
+ > cd docs/doxygen
+ > tree -L 1
-### Boost:
- Although the more i use, the more i dislike, this suite is included (ambition to learn
- new things...):
+ .
+ ├── Doxyfile
+ ├── html
+ ├── latex
+ └── man
- sudo apt-get install libboost-dev
- sudo apt-get install libboost-test-dev
- Development module is no longer needed, but still unit testing is done through boost.
- Pending migration to google test framework.
+## Unit tests
+
+Execute 'make test'
+
+## Install
+
+To install headers, libraries, and examples, execute:
+
+ > make install
+
+Optionally you could specify another prefix for installation:
+
+ > cmake -DCMAKE_INSTALL_PREFIX=$HOME/anna_deploy .
+
+## Uninstall
+
+ > cat install_manifest.txt | sudo xargs rm
+++ /dev/null
-import os
-import sys, select
-
-# Basic paths
-prefix = ARGUMENTS.get ('prefix', "/usr/local")
-usr_local_include = os.path.join (prefix, "include")
-usr_local_lib = os.path.join (prefix, "lib")
-usr_local_bin = os.path.join (prefix, "bin")
-opt_bin = "/opt/bin"
-current_directory = Dir ('.').abspath
-
-# Anna targets
-target_usr_local_include = os.path.join (usr_local_include, "anna")
-target_usr_local_lib = os.path.join (usr_local_lib, "anna")
-#target_usr_local_bin = usr_local_bin
-target_opt_bin = os.path.join (opt_bin, "anna")
-
-# Versioning
-release = ARGUMENTS.get ('release', 0)
-
-# Environment
-env = None
-rc = os.system("clang++ --version >/dev/null 2>/dev/null")
-if rc == 0:
- print "\nDetected clang++ installed in the system"
- print "\nSelect compiler:\n 1. g++\n 2. clang++"
- #option = raw_input("\nInput option [1]: ") or "1"
- # Read with timeout:
- print "\nInput option [1]: "
- option = 1
- i, o, e = select.select( [sys.stdin], [], [], 60 )
- if (i): option = sys.stdin.readline().strip()
- else: print "expired! using default ..."
- if option == "2":
- env = Environment(CXX = 'clang++')
- env.Append (CCFLAGS = '-DIS_CLANG')
- env.Append (CXXFLAGS = '-Wno-parentheses-equality')
- else:
- env = Environment()
-else:
- env = Environment()
-
-#oracle_includes = os.environ["ORACLE_HOME"] + "/include"
-oracle_includes = "/usr/lib/oracle/12.1/client64/include"
-
-# Headers
-source_include = os.path.join (current_directory, "include")
-usr_include = [
- #"/usr/include/oracle/12.1/client64",
- oracle_includes,
- "/usr/include/libxml2",
- #"/usr/include/boost",
- #"/usr/include/mysql",
- #"/usr/include/openssl",
-]
-
-# Libraries
-libraries = []
-
-# Environment
-#env = Environment ()
-# CPPPATH will be relative to src/<target>
-env.Append (CPPPATH = [source_include, usr_local_include, usr_include ])
-#env.Append (CCFLAGS = '-std=c++0x')
-# C++11 support:
-env.Append (CXXFLAGS = '-std=c++11')
-# Shared libraries using static ones:
-env.Append (CXXFLAGS = '-fPIC')
-#env.Append (CXXFLAGS = '-export-dynamic')
-
-env.Append (LIBS = [''])
-# scons -Q release=1
-if int(release):
- variant='release'
- env.Append (CCFLAGS = '-O3')
- env.Append (VARIANT = variant)
-else:
- variant='debug'
- env.Append (CCFLAGS = '-g -O0')
- env.Append (LIBPATH = os.path.join (current_directory, variant))
- env.Append (VARIANT = variant)
-
-variant_dir=variant
-source = os.path.join (current_directory, "source")
-sources = Glob(source + '/*')
-for source in sources:
- ss = str (source)
- ss += '/SConstruct'
- compile_library = SConscript (ss, exports='env')
- libraries.extend (compile_library)
-
-env.Default (libraries)
-
-# User environment variables
-env.Append (PROJECT_ROOT = current_directory)
-env.Append (VARIANT_DIR = variant_dir)
-
-#
-## Run 'scons dynamic' to compile dynamic libraries
-#
-dynamic_list = []
-dynamic = os.path.join (current_directory, "dynamic")
-# Find SConstruct files:
-dynamics=[os.path.join(r,f) for r,d,fs in os.walk(dynamic) for f in fs if f.endswith('SConstruct')]
-for dynamic in dynamics:
- ss = str (dynamic)
- bn_ss = os.path.basename(ss)
- if (bn_ss == "SConstruct"):
- dynamic_program = SConscript (ss, exports='env')
- if dynamic_program:
- dynamic_list.extend (dynamic_program)
- print dynamic_program [0]
-
-#Depends (dynamic_list, compile_library)
-
-# In order to remove dynamics objects with 'scons -c' we need to default them at built ('scons') procedure:
-env.Default (dynamic_list)
-#env.Alias ('dynamic', dynamic_list)
-
-
-#
-## Run 'scons example' to compile examples
-#
-example_list = []
-example = os.path.join (current_directory, "example")
-examples = Glob(example + '/*/*')
-for example in examples:
- ss = str (example)
- bn_ss = os.path.basename(ss)
- noExtension = (len(bn_ss.split('.')) == 1)
- if noExtension:
- ss += '/SConstruct'
- example_program = SConscript (ss, exports='env')
- example_list.extend (example_program)
- print example_program [0]
-
-#Depends (example_list, compile_library)
-
-# In order to remove examples objects with 'scons -c' we need to default them at built ('scons') procedure:
-env.Default (example_list)
-#env.Alias ('example', example_list)
-
-#
-# Run 'scons test' to compile unit-tests
-#
-test_unit_result = None
-test_unit_list = []
-run_tests = []
-
-test = os.path.join (current_directory, "test")
-tests = Glob(test + '/*')
-for test in tests:
- ss = str (test)
- ss += '/SConstruct'
- test_unit_program = SConscript (ss, exports='env')
- test_unit_list.extend (test_unit_program)
- print test_unit_program [0]
- test_unit = Builder (action = '%s --report_level=short > $TARGET' % test_unit_program [0])
- env ['BUILDERS']['RunTestUnit'] = test_unit
- test_unit_result = env.RunTestUnit ('%s.output' % test_unit_program [0], 'SConstruct')
- run_tests.extend (test_unit_result)
- Depends (test_unit_result, test_unit_program)
-
-env.Alias ('test', run_tests)
-# In order to remove test objects with 'scons -c' we need to default them at built ('scons') procedure:
-env.Default (test_unit_list)
-
-#
-# Run 'scons doc' to generate documentation
-#
-# Doxygen Builder does not work properly at the moment. We will use an alias/action
-#env = Environment(tools = ["default", "doxygen"], toolpath = './docs/doxygen')
-#env.Doxygen("./docs/doxygen/Doxyfile")
-# Finally, is enough to execute doxygen which will solve dependences and work for
-# only modified files:
-env.Alias('doc', env.Command('doc.dummy', [], 'cd docs/doxygen; doxygen'))
-
-# Installation aliases:
-#
-# 'sudo scons install-include' for only headers
-# 'sudo scons install-lib' for only libraries
-# 'sudo scons install-include-and-lib' for headers & libraries
-# 'sudo scons install-example' for only example binaries/resources
-# 'sudo scons install' to install the whole suite
-#
-# Run 'sudo scons uninstall' to uninstall the suite
-#
-# See http://www.scons.org/wiki/InstallTargets and http://www.scons.org/doc/production/HTML/scons-user/c2938.html
-install_include = env.Install (target_usr_local_include, Glob("include/anna/*"))
-static_lib_files = 'source/*/' + variant + '/*.a'
-dynamic_lib_files = 'source/*/' + variant + '/*.so'
-files_grabbed = [Glob(e) for e in [static_lib_files, dynamic_lib_files]]
-
-install_lib = env.Install (target_usr_local_lib, files_grabbed)
-install_dynlib = env.Install (target_usr_local_lib, Glob("dynamic/launcher/default/" + variant + "/*.so"))
-install_example = env.Install (target_opt_bin, Glob("example/*/*/" + variant + "/example_*"))
-postinstall_example = env.Command('./example/postinstall.out', None, './example/postinstall.sh')
-
-#Default ('install')
-if test_unit_result:
- Depends (install_include, test_unit_result)
- Depends (install_lib, test_unit_result)
- Depends (install_dynlib, test_unit_result)
- Depends (install_example, test_unit_result)
-
-ii = env.Alias('install-include', [target_usr_local_include])
-il = env.Alias('install-lib', [target_usr_local_lib])
-idl = env.Alias('install-dynlib', [target_usr_local_lib])
-iil = env.Alias('install-include-and-lib', [target_usr_local_include, target_usr_local_lib])
-iex = env.Alias('install-example', [target_opt_bin, postinstall_example])
-env.Alias('install', [iil, iex])
-
-env.Command ("uninstall", None, [ Delete(target_usr_local_include), Delete(target_usr_local_lib), Delete(target_opt_bin) ])
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-
-result = env.SharedLibrary ('anna_dynamicLauncherProcedure', sources);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-
-result = env.SharedLibrary ('anna_dynamicLauncherProcedure', sources);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-pName = "example_comm_brkClient"
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'timex', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'timex', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'crypto', 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'crypto', 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-anna_libs.append ("xml2")
-modules = [ 'xml', 'core', 'io' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'xml', 'core' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'xml', 'core', 'io' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'z' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_dbms.mysql_insert"
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-system_library = { 'LIBS' : [ 'mysqlclient' ] }
-localEnv.MergeFlags (system_library)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.c'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_dbms.mysql_select"
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-system_library = { 'LIBS' : [ 'mysqlclient' ] }
-localEnv.MergeFlags (system_library)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.c'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_dbms.mysql_xInsert"
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'dbms', 'dbms_mysql' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'mysqlclient' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_dbms.mysql_xSelect"
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'dbms', 'dbms_mysql' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'mysqlclient' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'dbms', 'dbos' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-sources = [ Glob('*.cpp'), Glob('filesystem/*.cpp'), Glob('storage/*.cpp') ]
-result = localEnv.Program (pName, sources)
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'time' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- #module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-# http://scons.1086193.n5.nabble.com/How-to-force-the-use-of-a-static-library-when-the-dynamic-library-is-available-as-well-td28385.html
-# libdiameter static variant:
-project_root = localEnv['PROJECT_ROOT']
-variant_dir = localEnv['VARIANT_DIR']
-anna_libs.append (File (project_root + "/source/diameter/" + variant_dir + "/libanna_diameter.a"))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-import os
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-
-modules = [ 'core', 'io', 'xml', 'app', 'http', 'comm', 'timex', 'http', 'statistics', 'time', 'diameter', 'diameter_comm' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-# dynamic lib:
-anna_libs.append ("anna_dynamicLauncherProcedure")
-anna_libs.append ("anna_testing")
-variant = env ['VARIANT']
-dynamic_libpath = os.path.join (pwd, "../../../../dynamic/launcher/default/" + variant)
-anna_libpaths.append (dynamic_libpath)
-dynamic_libpath = os.path.join (pwd, "../../../../source/testing/" + variant)
-anna_libpaths.append (dynamic_libpath)
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-
-# Linking #################################################################
-
-# Process includes:
-current_directory = Dir ('.').abspath
-dynamic_include = os.path.join (pwd, "../../../../dynamic/launcher/default/")
-localEnv.Append (CPPPATH = [current_directory, dynamic_include])
-#dynamic_include = os.path.join (pwd, "../../../../include/anna/testing/")
-#localEnv.Append (CPPPATH = [current_directory, dynamic_include])
-
-result = localEnv.Program (pName, Glob ('*.cpp'))
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- #module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-# Pcap resources:
-localEnv.Append (CPPPATH = '/usr/include')
-anna_libpaths.append ('/usr/lib64')
-# # another way is to put this below: localEnv.Append(LIBPATH = [anna_libpaths, '/usr/lib64'])
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'rt', 'pcap' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'time' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- #module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-# http://scons.1086193.n5.nabble.com/How-to-force-the-use-of-a-static-library-when-the-dynamic-library-is-available-as-well-td28385.html
-# libdiameter static variant:
-project_root = localEnv['PROJECT_ROOT']
-variant_dir = localEnv['VARIANT_DIR']
-anna_libs.append (File (project_root + "/source/diameter/" + variant_dir + "/libanna_diameter.a"))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'time', 'diameter' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- #module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'timex', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'timex', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'timex', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'test', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'xml', 'io', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- #module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'timex', 'ldap' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'lber', 'ldap', 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'xml', 'time' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- #module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app', 'comm', 'timex', 'http' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'z' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Process #################################################################
-#pName = "example_<module>_<process>"
-bnames = Dir('..').abspath.rsplit('/', 2)
-pName = "example_" + bnames[-2] + "_" + bnames[-1]
-pPath = pName.replace("_", "/") + "/"
-
-# Anna modules ############################################################
-pwd = str(Dir ('.').abspath);
-anna_libpaths = []
-anna_libs = []
-modules = [ 'core', 'io', 'xml', 'app' ];
-for module in modules:
- anna_libs.append ("anna_" + module)
- module = module.replace("_", ".")
- anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/")))
-
-anna_rlibs = list(anna_libs)
-anna_rlibs.reverse()
-
-# Libraries ###############################################################
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-anna_library = { 'LIBS' : anna_rlibs }
-localEnv.MergeFlags (anna_library)
-
-system_library = { 'LIBS' : [ 'xml2', 'rt' ] }
-localEnv.MergeFlags (system_library)
-
-localEnv.Append(LIBPATH = anna_libpaths)
-
-# Linking #################################################################
-result = localEnv.Program (pName, Glob ('*.cpp'))
-
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-source_files = [
- sources,
- sources_internal,
-]
-
-result = env.StaticLibrary ('anna_app', source_files);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_transport = Glob('transport/*.cpp')
-sources_handler = Glob('handler/*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-source_files = [
- sources,
- sources_transport,
- sources_handler,
- sources_internal,
-]
-
-result = env.StaticLibrary ('anna_comm', source_files);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-
-result = env.StaticLibrary ('anna_config', sources);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_mt = Glob('mt/*.cpp')
-sources_util = Glob('util/*.cpp')
-sources_internal = Glob('internal/*.cpp')
-sources_tracing = Glob('tracing/*.cpp')
-sources_oam = Glob('oam/*.cpp')
-
-source_files = [
- sources,
- sources_mt,
- sources_util,
- sources_internal,
- sources_tracing,
- sources_oam,
-]
-
-result = env.StaticLibrary ('anna_core', source_files);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_dbms_mysql', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_dbms_oracle', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_dbms', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_dbos', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_diameter_comm', [sources, internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-sources_app = Glob('app/dcca/*.cpp')
-sources_codec = Glob('codec/*.cpp') + Glob('codec/basetypes/*.cpp') + Glob('codec/tme/*.cpp')
-sources_core = Glob('core/*.cpp')
-sources_helpers =\
- Glob('helpers/*.cpp') +\
- Glob('helpers/base/*.cpp') +\
- Glob('helpers/dcca/*.cpp') +\
- Glob('helpers/ericsson/*.cpp') +\
- Glob('helpers/tid/*.cpp') +\
- Glob('helpers/tme/*.cpp') +\
- Glob('helpers/tme/codectypes/*.cpp')
-
-sources_stack = Glob('stack/*.cpp')
-
-result = env.SharedLibrary ('anna_diameter', [ sources, sources_internal, sources_app, sources_codec, sources_core, sources_helpers, sources_stack ]);
-result = env.StaticLibrary ('anna_diameter', [ sources, sources_internal, sources_app, sources_codec, sources_core, sources_helpers, sources_stack ]);
-
-Return ('result')
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_html', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-sources_parser = Glob('parser/*.cpp')
-sources_wims20 = Glob('wims20/*.cpp')
-
-result = env.StaticLibrary ('anna_http', [sources, sources_internal, sources_parser, sources_wims20]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_io', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# Copy environment to add LDAP_DEPRECATED only for ldap module
-envLDAP = env.Clone()
-envLDAP.Append(CCFLAGS = ['-DLDAP_DEPRECATED'])
-#envLDAP['CCFLAGS'] += ['-DLDAP_DEPRECATED']
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = envLDAP.StaticLibrary ('anna_ldap', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_statistics', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-
-result = env.StaticLibrary ('anna_test', sources);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-
-result = env.SharedLibrary ('anna_testing', sources);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_time', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_timex', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-sources = Glob('*.cpp')
-sources_internal = Glob('internal/*.cpp')
-
-result = env.StaticLibrary ('anna_xml', [sources, sources_internal]);
-
-Return ('result')
-
+++ /dev/null
-release = ARGUMENTS.get ('release', 0)
-
-Import ('env')
-
-# See http://stackoverflow.com/questions/4693826/scons-binary-directory
-if int(release):
- result = SConscript ('SConscript', exports='env', variant_dir="release", duplicate=0)
-else:
- result = SConscript ('SConscript', exports='env', variant_dir="debug", duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# See http://www.scons.org/doc/2.0.1/HTML/scons-user/c1809.html
-# about merging flags
-boost_library = { 'LIBS' : 'boost_unit_test_framework' }
-env.MergeFlags (boost_library)
-
-anna_library = { 'LIBS' : 'anna_config' }
-env.MergeFlags (anna_library)
-
-pwd = Dir ('.').abspath;
-current_directory = str (pwd);
-
-libpath = current_directory.replace ('test/', 'source/');
-env.Append (LIBPATH = [libpath])
-
-result = env.Program ('anna_test_config', Glob ('*.cpp'))
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# See http://www.scons.org/doc/2.0.1/HTML/scons-user/c1809.html
-# about merging flags
-boost_library = { 'LIBS' : 'boost_unit_test_framework' }
-env.MergeFlags (boost_library)
-
-anna_library = { 'LIBS' : 'anna_core' }
-env.MergeFlags (anna_library)
-
-#system_library = { 'LIBS' : 'boost_program_options' }
-#env.MergeFlags (system_library)
-
-pwd = Dir ('.').abspath;
-current_directory = str (pwd);
-
-libpath = current_directory.replace ('test/', 'source/');
-env.Append (LIBPATH = [libpath])
-
-result = env.Program ('anna_test_core', Glob ('*.cpp'))
-
-Return ('result')
-
-
-
-
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-
+++ /dev/null
-Import ('env')
-
-# To avoid other libraries accumulation:
-localEnv = env.Clone()
-
-# See http://www.scons.org/doc/2.0.1/HTML/scons-user/c1809.html
-# about merging flags
-boost_library = { 'LIBS' : 'boost_unit_test_framework' }
-localEnv.MergeFlags (boost_library)
-
-anna_library = { 'LIBS' : [ 'anna_time', 'anna_xml', 'anna_core' ] }
-localEnv.MergeFlags (anna_library)
-
-pwd = Dir ('.').abspath;
-current_directory = str (pwd);
-
-context = "test/time/"
-libpath_core = current_directory.replace (context, 'source/core/');
-libpath_xml = current_directory.replace (context, 'source/xml/');
-libpath_time = current_directory.replace (context, 'source/time/');
-
-localEnv.Append(LIBPATH = [libpath_core, libpath_xml, libpath_time])
-
-result = localEnv.Program ('anna_test_time', Glob ('*.cpp'))
-
-Return ('result')
+++ /dev/null
-Import ('env')
-
-variant = env ['VARIANT']
-
-result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0)
-
-Return ('result')
-