1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/.hgignore Sun May 03 01:25:03 2015 +0200
1.3 @@ -0,0 +1,8 @@
1.4 +syntax: glob
1.5 +
1.6 +*~
1.7 +temp/*
1.8 +
1.9 +c++/parameter-lister/dist/
1.10 +c++/parameter-lister/build/
1.11 +c++/parameter-lister/nbproject/private/
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/c++/parameter-lister/.dep.inc Sun May 03 01:25:03 2015 +0200
2.3 @@ -0,0 +1,5 @@
2.4 +# This code depends on make tool being used
2.5 +DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES}))
2.6 +ifneq (${DEPFILES},)
2.7 +include ${DEPFILES}
2.8 +endif
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/c++/parameter-lister/CLI.cpp Sun May 03 01:25:03 2015 +0200
3.3 @@ -0,0 +1,19 @@
3.4 +/*
3.5 + * File: CLI.cpp
3.6 + * Author: Ing. František Kučera (frantovo.cz)
3.7 + *
3.8 + * Created on 3. května 2015, 1:20
3.9 + */
3.10 +
3.11 +#include <cstdlib>
3.12 +
3.13 +using namespace std;
3.14 +
3.15 +/*
3.16 + *
3.17 + */
3.18 +int main(int argc, char** argv) {
3.19 +
3.20 + return 0;
3.21 +}
3.22 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/c++/parameter-lister/Makefile Sun May 03 01:25:03 2015 +0200
4.3 @@ -0,0 +1,128 @@
4.4 +#
4.5 +# There exist several targets which are by default empty and which can be
4.6 +# used for execution of your targets. These targets are usually executed
4.7 +# before and after some main targets. They are:
4.8 +#
4.9 +# .build-pre: called before 'build' target
4.10 +# .build-post: called after 'build' target
4.11 +# .clean-pre: called before 'clean' target
4.12 +# .clean-post: called after 'clean' target
4.13 +# .clobber-pre: called before 'clobber' target
4.14 +# .clobber-post: called after 'clobber' target
4.15 +# .all-pre: called before 'all' target
4.16 +# .all-post: called after 'all' target
4.17 +# .help-pre: called before 'help' target
4.18 +# .help-post: called after 'help' target
4.19 +#
4.20 +# Targets beginning with '.' are not intended to be called on their own.
4.21 +#
4.22 +# Main targets can be executed directly, and they are:
4.23 +#
4.24 +# build build a specific configuration
4.25 +# clean remove built files from a configuration
4.26 +# clobber remove all built files
4.27 +# all build all configurations
4.28 +# help print help mesage
4.29 +#
4.30 +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
4.31 +# .help-impl are implemented in nbproject/makefile-impl.mk.
4.32 +#
4.33 +# Available make variables:
4.34 +#
4.35 +# CND_BASEDIR base directory for relative paths
4.36 +# CND_DISTDIR default top distribution directory (build artifacts)
4.37 +# CND_BUILDDIR default top build directory (object files, ...)
4.38 +# CONF name of current configuration
4.39 +# CND_PLATFORM_${CONF} platform name (current configuration)
4.40 +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
4.41 +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
4.42 +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
4.43 +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
4.44 +# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
4.45 +# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
4.46 +#
4.47 +# NOCDDL
4.48 +
4.49 +
4.50 +# Environment
4.51 +MKDIR=mkdir
4.52 +CP=cp
4.53 +CCADMIN=CCadmin
4.54 +
4.55 +
4.56 +# build
4.57 +build: .build-post
4.58 +
4.59 +.build-pre:
4.60 +# Add your pre 'build' code here...
4.61 +
4.62 +.build-post: .build-impl
4.63 +# Add your post 'build' code here...
4.64 +
4.65 +
4.66 +# clean
4.67 +clean: .clean-post
4.68 +
4.69 +.clean-pre:
4.70 +# Add your pre 'clean' code here...
4.71 +
4.72 +.clean-post: .clean-impl
4.73 +# Add your post 'clean' code here...
4.74 +
4.75 +
4.76 +# clobber
4.77 +clobber: .clobber-post
4.78 +
4.79 +.clobber-pre:
4.80 +# Add your pre 'clobber' code here...
4.81 +
4.82 +.clobber-post: .clobber-impl
4.83 +# Add your post 'clobber' code here...
4.84 +
4.85 +
4.86 +# all
4.87 +all: .all-post
4.88 +
4.89 +.all-pre:
4.90 +# Add your pre 'all' code here...
4.91 +
4.92 +.all-post: .all-impl
4.93 +# Add your post 'all' code here...
4.94 +
4.95 +
4.96 +# build tests
4.97 +build-tests: .build-tests-post
4.98 +
4.99 +.build-tests-pre:
4.100 +# Add your pre 'build-tests' code here...
4.101 +
4.102 +.build-tests-post: .build-tests-impl
4.103 +# Add your post 'build-tests' code here...
4.104 +
4.105 +
4.106 +# run tests
4.107 +test: .test-post
4.108 +
4.109 +.test-pre: build-tests
4.110 +# Add your pre 'test' code here...
4.111 +
4.112 +.test-post: .test-impl
4.113 +# Add your post 'test' code here...
4.114 +
4.115 +
4.116 +# help
4.117 +help: .help-post
4.118 +
4.119 +.help-pre:
4.120 +# Add your pre 'help' code here...
4.121 +
4.122 +.help-post: .help-impl
4.123 +# Add your post 'help' code here...
4.124 +
4.125 +
4.126 +
4.127 +# include project implementation makefile
4.128 +include nbproject/Makefile-impl.mk
4.129 +
4.130 +# include project make variables
4.131 +include nbproject/Makefile-variables.mk
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/c++/parameter-lister/nbproject/Makefile-Debug.mk Sun May 03 01:25:03 2015 +0200
5.3 @@ -0,0 +1,84 @@
5.4 +#
5.5 +# Generated Makefile - do not edit!
5.6 +#
5.7 +# Edit the Makefile in the project folder instead (../Makefile). Each target
5.8 +# has a -pre and a -post target defined where you can add customized code.
5.9 +#
5.10 +# This makefile implements configuration specific macros and targets.
5.11 +
5.12 +
5.13 +# Environment
5.14 +MKDIR=mkdir
5.15 +CP=cp
5.16 +GREP=grep
5.17 +NM=nm
5.18 +CCADMIN=CCadmin
5.19 +RANLIB=ranlib
5.20 +CC=gcc
5.21 +CCC=g++
5.22 +CXX=g++
5.23 +FC=gfortran
5.24 +AS=as
5.25 +
5.26 +# Macros
5.27 +CND_PLATFORM=GNU-Linux-x86
5.28 +CND_DLIB_EXT=so
5.29 +CND_CONF=Debug
5.30 +CND_DISTDIR=dist
5.31 +CND_BUILDDIR=build
5.32 +
5.33 +# Include project Makefile
5.34 +include Makefile
5.35 +
5.36 +# Object Directory
5.37 +OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
5.38 +
5.39 +# Object Files
5.40 +OBJECTFILES= \
5.41 + ${OBJECTDIR}/CLI.o
5.42 +
5.43 +
5.44 +# C Compiler Flags
5.45 +CFLAGS=
5.46 +
5.47 +# CC Compiler Flags
5.48 +CCFLAGS=
5.49 +CXXFLAGS=
5.50 +
5.51 +# Fortran Compiler Flags
5.52 +FFLAGS=
5.53 +
5.54 +# Assembler Flags
5.55 +ASFLAGS=
5.56 +
5.57 +# Link Libraries and Options
5.58 +LDLIBSOPTIONS=
5.59 +
5.60 +# Build Targets
5.61 +.build-conf: ${BUILD_SUBPROJECTS}
5.62 + "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister
5.63 +
5.64 +${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister: ${OBJECTFILES}
5.65 + ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
5.66 + ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister ${OBJECTFILES} ${LDLIBSOPTIONS}
5.67 +
5.68 +${OBJECTDIR}/CLI.o: CLI.cpp
5.69 + ${MKDIR} -p ${OBJECTDIR}
5.70 + ${RM} "$@.d"
5.71 + $(COMPILE.cc) -g -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/CLI.o CLI.cpp
5.72 +
5.73 +# Subprojects
5.74 +.build-subprojects:
5.75 +
5.76 +# Clean Targets
5.77 +.clean-conf: ${CLEAN_SUBPROJECTS}
5.78 + ${RM} -r ${CND_BUILDDIR}/${CND_CONF}
5.79 + ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister
5.80 +
5.81 +# Subprojects
5.82 +.clean-subprojects:
5.83 +
5.84 +# Enable dependency checking
5.85 +.dep.inc: .depcheck-impl
5.86 +
5.87 +include .dep.inc
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/c++/parameter-lister/nbproject/Makefile-Release.mk Sun May 03 01:25:03 2015 +0200
6.3 @@ -0,0 +1,84 @@
6.4 +#
6.5 +# Generated Makefile - do not edit!
6.6 +#
6.7 +# Edit the Makefile in the project folder instead (../Makefile). Each target
6.8 +# has a -pre and a -post target defined where you can add customized code.
6.9 +#
6.10 +# This makefile implements configuration specific macros and targets.
6.11 +
6.12 +
6.13 +# Environment
6.14 +MKDIR=mkdir
6.15 +CP=cp
6.16 +GREP=grep
6.17 +NM=nm
6.18 +CCADMIN=CCadmin
6.19 +RANLIB=ranlib
6.20 +CC=gcc
6.21 +CCC=g++
6.22 +CXX=g++
6.23 +FC=gfortran
6.24 +AS=as
6.25 +
6.26 +# Macros
6.27 +CND_PLATFORM=GNU-Linux-x86
6.28 +CND_DLIB_EXT=so
6.29 +CND_CONF=Release
6.30 +CND_DISTDIR=dist
6.31 +CND_BUILDDIR=build
6.32 +
6.33 +# Include project Makefile
6.34 +include Makefile
6.35 +
6.36 +# Object Directory
6.37 +OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
6.38 +
6.39 +# Object Files
6.40 +OBJECTFILES= \
6.41 + ${OBJECTDIR}/CLI.o
6.42 +
6.43 +
6.44 +# C Compiler Flags
6.45 +CFLAGS=
6.46 +
6.47 +# CC Compiler Flags
6.48 +CCFLAGS=
6.49 +CXXFLAGS=
6.50 +
6.51 +# Fortran Compiler Flags
6.52 +FFLAGS=
6.53 +
6.54 +# Assembler Flags
6.55 +ASFLAGS=
6.56 +
6.57 +# Link Libraries and Options
6.58 +LDLIBSOPTIONS=
6.59 +
6.60 +# Build Targets
6.61 +.build-conf: ${BUILD_SUBPROJECTS}
6.62 + "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister
6.63 +
6.64 +${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister: ${OBJECTFILES}
6.65 + ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
6.66 + ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister ${OBJECTFILES} ${LDLIBSOPTIONS}
6.67 +
6.68 +${OBJECTDIR}/CLI.o: CLI.cpp
6.69 + ${MKDIR} -p ${OBJECTDIR}
6.70 + ${RM} "$@.d"
6.71 + $(COMPILE.cc) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/CLI.o CLI.cpp
6.72 +
6.73 +# Subprojects
6.74 +.build-subprojects:
6.75 +
6.76 +# Clean Targets
6.77 +.clean-conf: ${CLEAN_SUBPROJECTS}
6.78 + ${RM} -r ${CND_BUILDDIR}/${CND_CONF}
6.79 + ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister
6.80 +
6.81 +# Subprojects
6.82 +.clean-subprojects:
6.83 +
6.84 +# Enable dependency checking
6.85 +.dep.inc: .depcheck-impl
6.86 +
6.87 +include .dep.inc
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/c++/parameter-lister/nbproject/Makefile-impl.mk Sun May 03 01:25:03 2015 +0200
7.3 @@ -0,0 +1,133 @@
7.4 +#
7.5 +# Generated Makefile - do not edit!
7.6 +#
7.7 +# Edit the Makefile in the project folder instead (../Makefile). Each target
7.8 +# has a pre- and a post- target defined where you can add customization code.
7.9 +#
7.10 +# This makefile implements macros and targets common to all configurations.
7.11 +#
7.12 +# NOCDDL
7.13 +
7.14 +
7.15 +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
7.16 +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
7.17 +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
7.18 +# and .clean-reqprojects-conf unless SUB has the value 'no'
7.19 +SUB_no=NO
7.20 +SUBPROJECTS=${SUB_${SUB}}
7.21 +BUILD_SUBPROJECTS_=.build-subprojects
7.22 +BUILD_SUBPROJECTS_NO=
7.23 +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
7.24 +CLEAN_SUBPROJECTS_=.clean-subprojects
7.25 +CLEAN_SUBPROJECTS_NO=
7.26 +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
7.27 +
7.28 +
7.29 +# Project Name
7.30 +PROJECTNAME=parameter-lister
7.31 +
7.32 +# Active Configuration
7.33 +DEFAULTCONF=Debug
7.34 +CONF=${DEFAULTCONF}
7.35 +
7.36 +# All Configurations
7.37 +ALLCONFS=Debug Release
7.38 +
7.39 +
7.40 +# build
7.41 +.build-impl: .build-pre .validate-impl .depcheck-impl
7.42 + @#echo "=> Running $@... Configuration=$(CONF)"
7.43 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf
7.44 +
7.45 +
7.46 +# clean
7.47 +.clean-impl: .clean-pre .validate-impl .depcheck-impl
7.48 + @#echo "=> Running $@... Configuration=$(CONF)"
7.49 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf
7.50 +
7.51 +
7.52 +# clobber
7.53 +.clobber-impl: .clobber-pre .depcheck-impl
7.54 + @#echo "=> Running $@..."
7.55 + for CONF in ${ALLCONFS}; \
7.56 + do \
7.57 + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
7.58 + done
7.59 +
7.60 +# all
7.61 +.all-impl: .all-pre .depcheck-impl
7.62 + @#echo "=> Running $@..."
7.63 + for CONF in ${ALLCONFS}; \
7.64 + do \
7.65 + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
7.66 + done
7.67 +
7.68 +# build tests
7.69 +.build-tests-impl: .build-impl .build-tests-pre
7.70 + @#echo "=> Running $@... Configuration=$(CONF)"
7.71 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf
7.72 +
7.73 +# run tests
7.74 +.test-impl: .build-tests-impl .test-pre
7.75 + @#echo "=> Running $@... Configuration=$(CONF)"
7.76 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
7.77 +
7.78 +# dependency checking support
7.79 +.depcheck-impl:
7.80 + @echo "# This code depends on make tool being used" >.dep.inc
7.81 + @if [ -n "${MAKE_VERSION}" ]; then \
7.82 + echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
7.83 + echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
7.84 + echo "include \$${DEPFILES}" >>.dep.inc; \
7.85 + echo "endif" >>.dep.inc; \
7.86 + else \
7.87 + echo ".KEEP_STATE:" >>.dep.inc; \
7.88 + echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
7.89 + fi
7.90 +
7.91 +# configuration validation
7.92 +.validate-impl:
7.93 + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
7.94 + then \
7.95 + echo ""; \
7.96 + echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
7.97 + echo "See 'make help' for details."; \
7.98 + echo "Current directory: " `pwd`; \
7.99 + echo ""; \
7.100 + fi
7.101 + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
7.102 + then \
7.103 + exit 1; \
7.104 + fi
7.105 +
7.106 +
7.107 +# help
7.108 +.help-impl: .help-pre
7.109 + @echo "This makefile supports the following configurations:"
7.110 + @echo " ${ALLCONFS}"
7.111 + @echo ""
7.112 + @echo "and the following targets:"
7.113 + @echo " build (default target)"
7.114 + @echo " clean"
7.115 + @echo " clobber"
7.116 + @echo " all"
7.117 + @echo " help"
7.118 + @echo ""
7.119 + @echo "Makefile Usage:"
7.120 + @echo " make [CONF=<CONFIGURATION>] [SUB=no] build"
7.121 + @echo " make [CONF=<CONFIGURATION>] [SUB=no] clean"
7.122 + @echo " make [SUB=no] clobber"
7.123 + @echo " make [SUB=no] all"
7.124 + @echo " make help"
7.125 + @echo ""
7.126 + @echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
7.127 + @echo " also build subprojects."
7.128 + @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
7.129 + @echo " also clean subprojects."
7.130 + @echo "Target 'clobber' will remove all built files from all configurations and,"
7.131 + @echo " unless 'SUB=no', also from subprojects."
7.132 + @echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
7.133 + @echo " also build subprojects."
7.134 + @echo "Target 'help' prints this message."
7.135 + @echo ""
7.136 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/c++/parameter-lister/nbproject/Makefile-variables.mk Sun May 03 01:25:03 2015 +0200
8.3 @@ -0,0 +1,35 @@
8.4 +#
8.5 +# Generated - do not edit!
8.6 +#
8.7 +# NOCDDL
8.8 +#
8.9 +CND_BASEDIR=`pwd`
8.10 +CND_BUILDDIR=build
8.11 +CND_DISTDIR=dist
8.12 +# Debug configuration
8.13 +CND_PLATFORM_Debug=GNU-Linux-x86
8.14 +CND_ARTIFACT_DIR_Debug=dist/Debug/GNU-Linux-x86
8.15 +CND_ARTIFACT_NAME_Debug=parameter-lister
8.16 +CND_ARTIFACT_PATH_Debug=dist/Debug/GNU-Linux-x86/parameter-lister
8.17 +CND_PACKAGE_DIR_Debug=dist/Debug/GNU-Linux-x86/package
8.18 +CND_PACKAGE_NAME_Debug=parameter-lister.tar
8.19 +CND_PACKAGE_PATH_Debug=dist/Debug/GNU-Linux-x86/package/parameter-lister.tar
8.20 +# Release configuration
8.21 +CND_PLATFORM_Release=GNU-Linux-x86
8.22 +CND_ARTIFACT_DIR_Release=dist/Release/GNU-Linux-x86
8.23 +CND_ARTIFACT_NAME_Release=parameter-lister
8.24 +CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux-x86/parameter-lister
8.25 +CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux-x86/package
8.26 +CND_PACKAGE_NAME_Release=parameter-lister.tar
8.27 +CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux-x86/package/parameter-lister.tar
8.28 +#
8.29 +# include compiler specific variables
8.30 +#
8.31 +# dmake command
8.32 +ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \
8.33 + (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)
8.34 +#
8.35 +# gmake command
8.36 +.PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk))
8.37 +#
8.38 +include nbproject/private/Makefile-variables.mk
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/c++/parameter-lister/nbproject/Package-Debug.bash Sun May 03 01:25:03 2015 +0200
9.3 @@ -0,0 +1,76 @@
9.4 +#!/bin/bash -x
9.5 +
9.6 +#
9.7 +# Generated - do not edit!
9.8 +#
9.9 +
9.10 +# Macros
9.11 +TOP=`pwd`
9.12 +CND_PLATFORM=GNU-Linux-x86
9.13 +CND_CONF=Debug
9.14 +CND_DISTDIR=dist
9.15 +CND_BUILDDIR=build
9.16 +CND_DLIB_EXT=so
9.17 +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
9.18 +TMPDIRNAME=tmp-packaging
9.19 +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister
9.20 +OUTPUT_BASENAME=parameter-lister
9.21 +PACKAGE_TOP_DIR=parameter-lister/
9.22 +
9.23 +# Functions
9.24 +function checkReturnCode
9.25 +{
9.26 + rc=$?
9.27 + if [ $rc != 0 ]
9.28 + then
9.29 + exit $rc
9.30 + fi
9.31 +}
9.32 +function makeDirectory
9.33 +# $1 directory path
9.34 +# $2 permission (optional)
9.35 +{
9.36 + mkdir -p "$1"
9.37 + checkReturnCode
9.38 + if [ "$2" != "" ]
9.39 + then
9.40 + chmod $2 "$1"
9.41 + checkReturnCode
9.42 + fi
9.43 +}
9.44 +function copyFileToTmpDir
9.45 +# $1 from-file path
9.46 +# $2 to-file path
9.47 +# $3 permission
9.48 +{
9.49 + cp "$1" "$2"
9.50 + checkReturnCode
9.51 + if [ "$3" != "" ]
9.52 + then
9.53 + chmod $3 "$2"
9.54 + checkReturnCode
9.55 + fi
9.56 +}
9.57 +
9.58 +# Setup
9.59 +cd "${TOP}"
9.60 +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
9.61 +rm -rf ${NBTMPDIR}
9.62 +mkdir -p ${NBTMPDIR}
9.63 +
9.64 +# Copy files and create directories and links
9.65 +cd "${TOP}"
9.66 +makeDirectory "${NBTMPDIR}/parameter-lister/bin"
9.67 +copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
9.68 +
9.69 +
9.70 +# Generate tar file
9.71 +cd "${TOP}"
9.72 +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/parameter-lister.tar
9.73 +cd ${NBTMPDIR}
9.74 +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/parameter-lister.tar *
9.75 +checkReturnCode
9.76 +
9.77 +# Cleanup
9.78 +cd "${TOP}"
9.79 +rm -rf ${NBTMPDIR}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/c++/parameter-lister/nbproject/Package-Release.bash Sun May 03 01:25:03 2015 +0200
10.3 @@ -0,0 +1,76 @@
10.4 +#!/bin/bash -x
10.5 +
10.6 +#
10.7 +# Generated - do not edit!
10.8 +#
10.9 +
10.10 +# Macros
10.11 +TOP=`pwd`
10.12 +CND_PLATFORM=GNU-Linux-x86
10.13 +CND_CONF=Release
10.14 +CND_DISTDIR=dist
10.15 +CND_BUILDDIR=build
10.16 +CND_DLIB_EXT=so
10.17 +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
10.18 +TMPDIRNAME=tmp-packaging
10.19 +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/parameter-lister
10.20 +OUTPUT_BASENAME=parameter-lister
10.21 +PACKAGE_TOP_DIR=parameter-lister/
10.22 +
10.23 +# Functions
10.24 +function checkReturnCode
10.25 +{
10.26 + rc=$?
10.27 + if [ $rc != 0 ]
10.28 + then
10.29 + exit $rc
10.30 + fi
10.31 +}
10.32 +function makeDirectory
10.33 +# $1 directory path
10.34 +# $2 permission (optional)
10.35 +{
10.36 + mkdir -p "$1"
10.37 + checkReturnCode
10.38 + if [ "$2" != "" ]
10.39 + then
10.40 + chmod $2 "$1"
10.41 + checkReturnCode
10.42 + fi
10.43 +}
10.44 +function copyFileToTmpDir
10.45 +# $1 from-file path
10.46 +# $2 to-file path
10.47 +# $3 permission
10.48 +{
10.49 + cp "$1" "$2"
10.50 + checkReturnCode
10.51 + if [ "$3" != "" ]
10.52 + then
10.53 + chmod $3 "$2"
10.54 + checkReturnCode
10.55 + fi
10.56 +}
10.57 +
10.58 +# Setup
10.59 +cd "${TOP}"
10.60 +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
10.61 +rm -rf ${NBTMPDIR}
10.62 +mkdir -p ${NBTMPDIR}
10.63 +
10.64 +# Copy files and create directories and links
10.65 +cd "${TOP}"
10.66 +makeDirectory "${NBTMPDIR}/parameter-lister/bin"
10.67 +copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
10.68 +
10.69 +
10.70 +# Generate tar file
10.71 +cd "${TOP}"
10.72 +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/parameter-lister.tar
10.73 +cd ${NBTMPDIR}
10.74 +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/parameter-lister.tar *
10.75 +checkReturnCode
10.76 +
10.77 +# Cleanup
10.78 +cd "${TOP}"
10.79 +rm -rf ${NBTMPDIR}
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/c++/parameter-lister/nbproject/configurations.xml Sun May 03 01:25:03 2015 +0200
11.3 @@ -0,0 +1,66 @@
11.4 +<?xml version="1.0" encoding="UTF-8"?>
11.5 +<configurationDescriptor version="95">
11.6 + <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
11.7 + <logicalFolder name="HeaderFiles"
11.8 + displayName="Header Files"
11.9 + projectFiles="true">
11.10 + </logicalFolder>
11.11 + <logicalFolder name="ResourceFiles"
11.12 + displayName="Resource Files"
11.13 + projectFiles="true">
11.14 + </logicalFolder>
11.15 + <logicalFolder name="SourceFiles"
11.16 + displayName="Source Files"
11.17 + projectFiles="true">
11.18 + <itemPath>CLI.cpp</itemPath>
11.19 + </logicalFolder>
11.20 + <logicalFolder name="TestFiles"
11.21 + displayName="Test Files"
11.22 + projectFiles="false"
11.23 + kind="TEST_LOGICAL_FOLDER">
11.24 + </logicalFolder>
11.25 + <logicalFolder name="ExternalFiles"
11.26 + displayName="Important Files"
11.27 + projectFiles="false"
11.28 + kind="IMPORTANT_FILES_FOLDER">
11.29 + <itemPath>Makefile</itemPath>
11.30 + </logicalFolder>
11.31 + </logicalFolder>
11.32 + <projectmakefile>Makefile</projectmakefile>
11.33 + <confs>
11.34 + <conf name="Debug" type="1">
11.35 + <toolsSet>
11.36 + <compilerSet>default</compilerSet>
11.37 + <dependencyChecking>true</dependencyChecking>
11.38 + <rebuildPropChanged>false</rebuildPropChanged>
11.39 + </toolsSet>
11.40 + <compileType>
11.41 + </compileType>
11.42 + <item path="CLI.cpp" ex="false" tool="1" flavor2="0">
11.43 + </item>
11.44 + </conf>
11.45 + <conf name="Release" type="1">
11.46 + <toolsSet>
11.47 + <compilerSet>default</compilerSet>
11.48 + <dependencyChecking>true</dependencyChecking>
11.49 + <rebuildPropChanged>false</rebuildPropChanged>
11.50 + </toolsSet>
11.51 + <compileType>
11.52 + <cTool>
11.53 + <developmentMode>5</developmentMode>
11.54 + </cTool>
11.55 + <ccTool>
11.56 + <developmentMode>5</developmentMode>
11.57 + </ccTool>
11.58 + <fortranCompilerTool>
11.59 + <developmentMode>5</developmentMode>
11.60 + </fortranCompilerTool>
11.61 + <asmTool>
11.62 + <developmentMode>5</developmentMode>
11.63 + </asmTool>
11.64 + </compileType>
11.65 + <item path="CLI.cpp" ex="false" tool="1" flavor2="0">
11.66 + </item>
11.67 + </conf>
11.68 + </confs>
11.69 +</configurationDescriptor>
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/c++/parameter-lister/nbproject/project.xml Sun May 03 01:25:03 2015 +0200
12.3 @@ -0,0 +1,28 @@
12.4 +<?xml version="1.0" encoding="UTF-8"?>
12.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
12.6 + <type>org.netbeans.modules.cnd.makeproject</type>
12.7 + <configuration>
12.8 + <data xmlns="http://www.netbeans.org/ns/make-project/1">
12.9 + <name>parameter-lister</name>
12.10 + <c-extensions/>
12.11 + <cpp-extensions>cpp</cpp-extensions>
12.12 + <header-extensions/>
12.13 + <make-dep-projects/>
12.14 + <sourceRootList/>
12.15 + <confList>
12.16 + <confElem>
12.17 + <name>Debug</name>
12.18 + <type>1</type>
12.19 + </confElem>
12.20 + <confElem>
12.21 + <name>Release</name>
12.22 + <type>1</type>
12.23 + </confElem>
12.24 + </confList>
12.25 + <sourceEncoding>UTF-8</sourceEncoding>
12.26 + <formatting>
12.27 + <project-formatting-style>false</project-formatting-style>
12.28 + </formatting>
12.29 + </data>
12.30 + </configuration>
12.31 +</project>