changeset 1:4ac33e06cb09

This netbeans project for single thread application it didn't work yet, may be the spidermonkey's version is the reason and I'll try to solve this
author Sara
date Sun, 05 Jan 2014 13:43:45 -0800
parents 299e986f3250
children 993424504eb7
files CppApplication_1/.dep.inc CppApplication_1/Makefile CppApplication_1/build/Debug/GNU-Linux-x86/first.o CppApplication_1/build/Debug/GNU-Linux-x86/first.o.d CppApplication_1/dist/Debug/GNU-Linux-x86/cppapplication_1 CppApplication_1/first.cpp CppApplication_1/nbproject/Makefile-Debug.mk CppApplication_1/nbproject/Makefile-Release.mk CppApplication_1/nbproject/Makefile-impl.mk CppApplication_1/nbproject/Makefile-variables.mk CppApplication_1/nbproject/Package-Debug.bash CppApplication_1/nbproject/Package-Release.bash CppApplication_1/nbproject/configurations.xml CppApplication_1/nbproject/private/Makefile-variables.mk CppApplication_1/nbproject/private/configurations.xml CppApplication_1/nbproject/private/private.xml CppApplication_1/nbproject/project.xml Thread_one.cpp~
diffstat 17 files changed, 1024 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/CppApplication_1/.dep.inc	Sun Jan 05 13:43:45 2014 -0800
     1.3 @@ -0,0 +1,5 @@
     1.4 +# This code depends on make tool being used
     1.5 +DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES}))
     1.6 +ifneq (${DEPFILES},)
     1.7 +include ${DEPFILES}
     1.8 +endif
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/CppApplication_1/Makefile	Sun Jan 05 13:43:45 2014 -0800
     2.3 @@ -0,0 +1,128 @@
     2.4 +#
     2.5 +#  There exist several targets which are by default empty and which can be 
     2.6 +#  used for execution of your targets. These targets are usually executed 
     2.7 +#  before and after some main targets. They are: 
     2.8 +#
     2.9 +#     .build-pre:              called before 'build' target
    2.10 +#     .build-post:             called after 'build' target
    2.11 +#     .clean-pre:              called before 'clean' target
    2.12 +#     .clean-post:             called after 'clean' target
    2.13 +#     .clobber-pre:            called before 'clobber' target
    2.14 +#     .clobber-post:           called after 'clobber' target
    2.15 +#     .all-pre:                called before 'all' target
    2.16 +#     .all-post:               called after 'all' target
    2.17 +#     .help-pre:               called before 'help' target
    2.18 +#     .help-post:              called after 'help' target
    2.19 +#
    2.20 +#  Targets beginning with '.' are not intended to be called on their own.
    2.21 +#
    2.22 +#  Main targets can be executed directly, and they are:
    2.23 +#  
    2.24 +#     build                    build a specific configuration
    2.25 +#     clean                    remove built files from a configuration
    2.26 +#     clobber                  remove all built files
    2.27 +#     all                      build all configurations
    2.28 +#     help                     print help mesage
    2.29 +#  
    2.30 +#  Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
    2.31 +#  .help-impl are implemented in nbproject/makefile-impl.mk.
    2.32 +#
    2.33 +#  Available make variables:
    2.34 +#
    2.35 +#     CND_BASEDIR                base directory for relative paths
    2.36 +#     CND_DISTDIR                default top distribution directory (build artifacts)
    2.37 +#     CND_BUILDDIR               default top build directory (object files, ...)
    2.38 +#     CONF                       name of current configuration
    2.39 +#     CND_PLATFORM_${CONF}       platform name (current configuration)
    2.40 +#     CND_ARTIFACT_DIR_${CONF}   directory of build artifact (current configuration)
    2.41 +#     CND_ARTIFACT_NAME_${CONF}  name of build artifact (current configuration)
    2.42 +#     CND_ARTIFACT_PATH_${CONF}  path to build artifact (current configuration)
    2.43 +#     CND_PACKAGE_DIR_${CONF}    directory of package (current configuration)
    2.44 +#     CND_PACKAGE_NAME_${CONF}   name of package (current configuration)
    2.45 +#     CND_PACKAGE_PATH_${CONF}   path to package (current configuration)
    2.46 +#
    2.47 +# NOCDDL
    2.48 +
    2.49 +
    2.50 +# Environment 
    2.51 +MKDIR=mkdir
    2.52 +CP=cp
    2.53 +CCADMIN=CCadmin
    2.54 +
    2.55 +
    2.56 +# build
    2.57 +build: .build-post
    2.58 +
    2.59 +.build-pre:
    2.60 +# Add your pre 'build' code here...
    2.61 +
    2.62 +.build-post: .build-impl
    2.63 +# Add your post 'build' code here...
    2.64 +
    2.65 +
    2.66 +# clean
    2.67 +clean: .clean-post
    2.68 +
    2.69 +.clean-pre:
    2.70 +# Add your pre 'clean' code here...
    2.71 +
    2.72 +.clean-post: .clean-impl
    2.73 +# Add your post 'clean' code here...
    2.74 +
    2.75 +
    2.76 +# clobber
    2.77 +clobber: .clobber-post
    2.78 +
    2.79 +.clobber-pre:
    2.80 +# Add your pre 'clobber' code here...
    2.81 +
    2.82 +.clobber-post: .clobber-impl
    2.83 +# Add your post 'clobber' code here...
    2.84 +
    2.85 +
    2.86 +# all
    2.87 +all: .all-post
    2.88 +
    2.89 +.all-pre:
    2.90 +# Add your pre 'all' code here...
    2.91 +
    2.92 +.all-post: .all-impl
    2.93 +# Add your post 'all' code here...
    2.94 +
    2.95 +
    2.96 +# build tests
    2.97 +build-tests: .build-tests-post
    2.98 +
    2.99 +.build-tests-pre:
   2.100 +# Add your pre 'build-tests' code here...
   2.101 +
   2.102 +.build-tests-post: .build-tests-impl
   2.103 +# Add your post 'build-tests' code here...
   2.104 +
   2.105 +
   2.106 +# run tests
   2.107 +test: .test-post
   2.108 +
   2.109 +.test-pre:
   2.110 +# Add your pre 'test' code here...
   2.111 +
   2.112 +.test-post: .test-impl
   2.113 +# Add your post 'test' code here...
   2.114 +
   2.115 +
   2.116 +# help
   2.117 +help: .help-post
   2.118 +
   2.119 +.help-pre:
   2.120 +# Add your pre 'help' code here...
   2.121 +
   2.122 +.help-post: .help-impl
   2.123 +# Add your post 'help' code here...
   2.124 +
   2.125 +
   2.126 +
   2.127 +# include project implementation makefile
   2.128 +include nbproject/Makefile-impl.mk
   2.129 +
   2.130 +# include project make variables
   2.131 +include nbproject/Makefile-variables.mk
     3.1 Binary file CppApplication_1/build/Debug/GNU-Linux-x86/first.o has changed
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/CppApplication_1/build/Debug/GNU-Linux-x86/first.o.d	Sun Jan 05 13:43:45 2014 -0800
     4.3 @@ -0,0 +1,34 @@
     4.4 +build/Debug/GNU-Linux-x86/first.o: first.cpp \
     4.5 + /usr/local/include/js/jsapi.h /usr/local/include/js/js-config.h \
     4.6 + /usr/local/include/js/jspubtd.h /usr/local/include/js/jstypes.h \
     4.7 + /usr/local/include/js/jsautocfg.h /usr/local/include/js/jsinttypes.h \
     4.8 + /usr/local/include/js/jsotypes.h /usr/local/include/js/jscompat.h \
     4.9 + /usr/local/include/js/jslong.h /usr/local/include/js/jsval.h \
    4.10 + /usr/local/include/js/jsutil.h /usr/local/include/js/jsproto.tbl \
    4.11 + /usr/local/include/js/jsversion.h
    4.12 +
    4.13 +/usr/local/include/js/jsapi.h:
    4.14 +
    4.15 +/usr/local/include/js/js-config.h:
    4.16 +
    4.17 +/usr/local/include/js/jspubtd.h:
    4.18 +
    4.19 +/usr/local/include/js/jstypes.h:
    4.20 +
    4.21 +/usr/local/include/js/jsautocfg.h:
    4.22 +
    4.23 +/usr/local/include/js/jsinttypes.h:
    4.24 +
    4.25 +/usr/local/include/js/jsotypes.h:
    4.26 +
    4.27 +/usr/local/include/js/jscompat.h:
    4.28 +
    4.29 +/usr/local/include/js/jslong.h:
    4.30 +
    4.31 +/usr/local/include/js/jsval.h:
    4.32 +
    4.33 +/usr/local/include/js/jsutil.h:
    4.34 +
    4.35 +/usr/local/include/js/jsproto.tbl:
    4.36 +
    4.37 +/usr/local/include/js/jsversion.h:
     5.1 Binary file CppApplication_1/dist/Debug/GNU-Linux-x86/cppapplication_1 has changed
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/CppApplication_1/first.cpp	Sun Jan 05 13:43:45 2014 -0800
     6.3 @@ -0,0 +1,176 @@
     6.4 +/* 
     6.5 + * File:   first.cpp
     6.6 + * Author: sara
     6.7 + *
     6.8 + * Created on December 30, 2013, 11:41 AM
     6.9 + */
    6.10 +
    6.11 +#include <cstdlib>
    6.12 +/* Include the JSAPI header file to get access to SpiderMonkey. */
    6.13 +#include "jsapi.h"
    6.14 +#include <pthread.h>
    6.15 +
    6.16 +using namespace std;
    6.17 +struct thread_parameter
    6.18 +{
    6.19 + // char *uncompiledScript;
    6.20 +   // JSObject *sharedGlobalObject;
    6.21 +   // JSRuntime *currRt;
    6.22 +    char *tempstr;
    6.23 +   
    6.24 +
    6.25 +};
    6.26 +/* The class of the global object. */
    6.27 +JSRuntime *rt;
    6.28 +JSObject  *global;
    6.29 +static JSClass global_class = {
    6.30 +    "global", JSCLASS_GLOBAL_FLAGS,
    6.31 +    JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
    6.32 +    JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub,
    6.33 +    JSCLASS_NO_OPTIONAL_MEMBERS
    6.34 +};
    6.35 +
    6.36 +/* The error reporter callback. */
    6.37 +void reportError(JSContext *cx, const char *message, JSErrorReport *report)
    6.38 +{
    6.39 +    fprintf(stderr, "%s:%u:%s\n",
    6.40 +            report->filename ? report->filename : "<no filename=\"filename\">",
    6.41 +            (unsigned int) report->lineno,
    6.42 +            message);
    6.43 +}
    6.44 +/** the function which the thread executes when is created at main 
    6.45 + *@parameter structure of all the argument the function needs
    6.46 + *@return return null at the end 
    6.47 +*/ 
    6.48 +void *threadFunction(void* arg){
    6.49 + /* indicates that the execution of the script is executed successfully or not*/
    6.50 + bool execute;
    6.51 + int temp = 1;
    6.52 +// char *script = "'Hi' + 'Sara'";
    6.53 + char threadScript[] = "'Hi ' + 'Sara!'";
    6.54 + char *scr = threadScript;
    6.55 +  JSString *outStr;
    6.56 +/* carries the value of the last expression of the script*/
    6.57 + jsval rval1;
    6.58 + 
    6.59 +/* The new context which is created by the thread*/
    6.60 +  JSContext *currContext;
    6.61 +/* pass the incoming argument of the function */
    6.62 +// struct thread_parameter *arg1 = (struct thread_parameter *) arg;
    6.63 +//const char *uncScript = (const char*)arg->uncompiledScript;
    6.64 +  //scr = (char *)arg;
    6.65 +/*Creates new context to be attached to the creator thread*/ 
    6.66 +currContext = JS_NewContext(rt, 8192);
    6.67 +  if (currContext == NULL)
    6.68 +       return NULL;
    6.69 +/* In a thread safe build every entry to the api that uses
    6.70 +   context must be in a request for thread safety*/
    6.71 +  JS_BeginRequest(currContext);
    6.72 +   JS_SetOptions(currContext, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT);
    6.73 +   JS_SetVersion(currContext, JSVERSION_LATEST);
    6.74 +/*Compiles the incoming script*/
    6.75 +  JSObject *compiledScript = JS_CompileScript(currContext, global, scr,strlen(scr), "threadFilename", 0);
    6.76 +/*Executes the compiled script*/
    6.77 +   execute = JS_ExecuteScript(currContext, global, compiledScript, &rval1);
    6.78 +      if ( rval1 == JS_FALSE)//rval == JS_NULL |
    6.79 +        return NULL;
    6.80 +    /*gets the returned value of the last expression of the executed script*/
    6.81 +    outStr = JS_ValueToString(currContext, rval1);
    6.82 +    printf("%s\n", JS_EncodeString(currContext, outStr));
    6.83 +/*Ends the request */
    6.84 +    JS_EndRequest(currContext);
    6.85 +/*Destroy the context of that thread*/
    6.86 +     JS_DestroyContext(currContext);
    6.87 + //printf("HI, Sara");
    6.88 +    return NULL;
    6.89 +    
    6.90 +}
    6.91 +/*
    6.92 + * 
    6.93 + */
    6.94 +int main(int argc, const char *argv[]) {
    6.95 +
    6.96 +     /* JSAPI variables. */
    6.97 +    //JSRuntime *rt;
    6.98 +    JSContext *cx;
    6.99 +   // JSObject  *global;
   6.100 +/* id of the created thread*/
   6.101 +    pthread_t thread_id;
   6.102 +
   6.103 +    /* Create a JS runtime. You always need at least one runtime per process. */
   6.104 +    rt = JS_NewRuntime(8 * 1024 * 1024);
   6.105 +    if (rt == NULL)
   6.106 +        return 1;
   6.107 +
   6.108 +    /* 
   6.109 +     * Create a context. You always need a context per thread.
   6.110 +     * Note that this program is not multi-threaded.
   6.111 +     This thread is used by the main thread only
   6.112 +     */
   6.113 +    cx = JS_NewContext(rt, 8192);
   6.114 +    if (cx == NULL)
   6.115 +        return 1;
   6.116 +    JS_BeginRequest(cx);
   6.117 +    JS_SetOptions(cx, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT);
   6.118 +    JS_SetVersion(cx, JSVERSION_LATEST);
   6.119 +    JS_SetErrorReporter(cx, reportError);
   6.120 +
   6.121 +    /*
   6.122 +     * Create the global object in a new compartment.
   6.123 +     * You always need a global object per context.
   6.124 +     */
   6.125 +    
   6.126 +    global = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL);
   6.127 +    if (global == NULL)
   6.128 +        return 1;
   6.129 +
   6.130 +    /*
   6.131 +     * Populate the global object with the standard JavaScript
   6.132 +     * function and object classes, such as Object, Array, Date.
   6.133 +     */
   6.134 +    if (!JS_InitStandardClasses(cx, global))
   6.135 +        return 1;
   6.136 +
   6.137 +    /* Your application code here. This may include JSAPI calls
   6.138 +     * to create your own custom JavaScript objects and to run scripts.
   6.139 +     *
   6.140 +     * The following example code creates a literal JavaScript script,
   6.141 +     * evaluates it, and prints the result to stdout.
   6.142 +     *
   6.143 +     * Errors are conventionally saved in a JSBool variable named ok.
   6.144 +     */
   6.145 +
   6.146 +
   6.147 +    /** Create the thread here....*/
   6.148 +    struct thread_parameter threadArg;
   6.149 +    //threadArg.sharedGlobalObject = global;
   6.150 +     char threadScript[] = "'Hi ' + 'Sara!'";
   6.151 +    //threadArg.tempstr = threadScript;
   6.152 +    //threadArg.currRt = rt;
   6.153 +   
   6.154 +    pthread_create(&thread_id, NULL, &threadFunction,NULL);
   6.155 +/*****************************************************************/
   6.156 +    const char *script = "'Hello ' + 'World!'";
   6.157 +    jsval rval;
   6.158 +    JSString *str;
   6.159 +    JSBool ok;
   6.160 +    const char *filename = "noname";
   6.161 +    uintN lineno = 0;
   6.162 +    ok = JS_EvaluateScript(cx, global, script, strlen(script),
   6.163 +                           filename, lineno, &rval);
   6.164 +    if ( rval == JS_FALSE)//rval == JS_NULL |
   6.165 +        return 1;
   6.166 +    str = JS_ValueToString(cx, rval);
   6.167 +    printf("%s\n", JS_EncodeString(cx, str));
   6.168 +
   6.169 +    /* End of your application code */
   6.170 +
   6.171 +    /* Clean things up and shut down SpiderMonkey. */
   6.172 +    JS_EndRequest(cx);
   6.173 +    JS_DestroyContext(cx);
   6.174 +    JS_DestroyRuntime(rt);
   6.175 +    JS_ShutDown();
   6.176 +    
   6.177 +    return 0;
   6.178 +}
   6.179 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/CppApplication_1/nbproject/Makefile-Debug.mk	Sun Jan 05 13:43:45 2014 -0800
     7.3 @@ -0,0 +1,83 @@
     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 customized code.
     7.9 +#
    7.10 +# This makefile implements configuration specific macros and targets.
    7.11 +
    7.12 +
    7.13 +# Environment
    7.14 +MKDIR=mkdir
    7.15 +CP=cp
    7.16 +GREP=grep
    7.17 +NM=nm
    7.18 +CCADMIN=CCadmin
    7.19 +RANLIB=ranlib
    7.20 +CC=gcc
    7.21 +CCC=g++
    7.22 +CXX=g++
    7.23 +FC=gfortran
    7.24 +AS=as
    7.25 +
    7.26 +# Macros
    7.27 +CND_PLATFORM=GNU-Linux-x86
    7.28 +CND_CONF=Debug
    7.29 +CND_DISTDIR=dist
    7.30 +CND_BUILDDIR=build
    7.31 +
    7.32 +# Include project Makefile
    7.33 +include Makefile
    7.34 +
    7.35 +# Object Directory
    7.36 +OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
    7.37 +
    7.38 +# Object Files
    7.39 +OBJECTFILES= \
    7.40 +	${OBJECTDIR}/first.o
    7.41 +
    7.42 +
    7.43 +# C Compiler Flags
    7.44 +CFLAGS=
    7.45 +
    7.46 +# CC Compiler Flags
    7.47 +CCFLAGS=
    7.48 +CXXFLAGS=
    7.49 +
    7.50 +# Fortran Compiler Flags
    7.51 +FFLAGS=
    7.52 +
    7.53 +# Assembler Flags
    7.54 +ASFLAGS=
    7.55 +
    7.56 +# Link Libraries and Options
    7.57 +LDLIBSOPTIONS=-L/usr/local/lib -lmozjs185-1.0 -lmozjs185 -lpthread
    7.58 +
    7.59 +# Build Targets
    7.60 +.build-conf: ${BUILD_SUBPROJECTS}
    7.61 +	"${MAKE}"  -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1
    7.62 +
    7.63 +${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1: ${OBJECTFILES}
    7.64 +	${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
    7.65 +	${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 ${OBJECTFILES} ${LDLIBSOPTIONS} 
    7.66 +
    7.67 +${OBJECTDIR}/first.o: first.cpp 
    7.68 +	${MKDIR} -p ${OBJECTDIR}
    7.69 +	${RM} $@.d
    7.70 +	$(COMPILE.cc) -g -I/usr/local/include/js -MMD -MP -MF $@.d -o ${OBJECTDIR}/first.o first.cpp
    7.71 +
    7.72 +# Subprojects
    7.73 +.build-subprojects:
    7.74 +
    7.75 +# Clean Targets
    7.76 +.clean-conf: ${CLEAN_SUBPROJECTS}
    7.77 +	${RM} -r ${CND_BUILDDIR}/${CND_CONF}
    7.78 +	${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1
    7.79 +
    7.80 +# Subprojects
    7.81 +.clean-subprojects:
    7.82 +
    7.83 +# Enable dependency checking
    7.84 +.dep.inc: .depcheck-impl
    7.85 +
    7.86 +include .dep.inc
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/CppApplication_1/nbproject/Makefile-Release.mk	Sun Jan 05 13:43:45 2014 -0800
     8.3 @@ -0,0 +1,83 @@
     8.4 +#
     8.5 +# Generated Makefile - do not edit!
     8.6 +#
     8.7 +# Edit the Makefile in the project folder instead (../Makefile). Each target
     8.8 +# has a -pre and a -post target defined where you can add customized code.
     8.9 +#
    8.10 +# This makefile implements configuration specific macros and targets.
    8.11 +
    8.12 +
    8.13 +# Environment
    8.14 +MKDIR=mkdir
    8.15 +CP=cp
    8.16 +GREP=grep
    8.17 +NM=nm
    8.18 +CCADMIN=CCadmin
    8.19 +RANLIB=ranlib
    8.20 +CC=gcc
    8.21 +CCC=g++
    8.22 +CXX=g++
    8.23 +FC=gfortran
    8.24 +AS=as
    8.25 +
    8.26 +# Macros
    8.27 +CND_PLATFORM=GNU-Linux-x86
    8.28 +CND_CONF=Release
    8.29 +CND_DISTDIR=dist
    8.30 +CND_BUILDDIR=build
    8.31 +
    8.32 +# Include project Makefile
    8.33 +include Makefile
    8.34 +
    8.35 +# Object Directory
    8.36 +OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
    8.37 +
    8.38 +# Object Files
    8.39 +OBJECTFILES= \
    8.40 +	${OBJECTDIR}/first.o
    8.41 +
    8.42 +
    8.43 +# C Compiler Flags
    8.44 +CFLAGS=
    8.45 +
    8.46 +# CC Compiler Flags
    8.47 +CCFLAGS=
    8.48 +CXXFLAGS=
    8.49 +
    8.50 +# Fortran Compiler Flags
    8.51 +FFLAGS=
    8.52 +
    8.53 +# Assembler Flags
    8.54 +ASFLAGS=
    8.55 +
    8.56 +# Link Libraries and Options
    8.57 +LDLIBSOPTIONS=
    8.58 +
    8.59 +# Build Targets
    8.60 +.build-conf: ${BUILD_SUBPROJECTS}
    8.61 +	"${MAKE}"  -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1
    8.62 +
    8.63 +${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1: ${OBJECTFILES}
    8.64 +	${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
    8.65 +	${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 ${OBJECTFILES} ${LDLIBSOPTIONS} 
    8.66 +
    8.67 +${OBJECTDIR}/first.o: first.cpp 
    8.68 +	${MKDIR} -p ${OBJECTDIR}
    8.69 +	${RM} $@.d
    8.70 +	$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/first.o first.cpp
    8.71 +
    8.72 +# Subprojects
    8.73 +.build-subprojects:
    8.74 +
    8.75 +# Clean Targets
    8.76 +.clean-conf: ${CLEAN_SUBPROJECTS}
    8.77 +	${RM} -r ${CND_BUILDDIR}/${CND_CONF}
    8.78 +	${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1
    8.79 +
    8.80 +# Subprojects
    8.81 +.clean-subprojects:
    8.82 +
    8.83 +# Enable dependency checking
    8.84 +.dep.inc: .depcheck-impl
    8.85 +
    8.86 +include .dep.inc
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/CppApplication_1/nbproject/Makefile-impl.mk	Sun Jan 05 13:43:45 2014 -0800
     9.3 @@ -0,0 +1,133 @@
     9.4 +# 
     9.5 +# Generated Makefile - do not edit! 
     9.6 +# 
     9.7 +# Edit the Makefile in the project folder instead (../Makefile). Each target
     9.8 +# has a pre- and a post- target defined where you can add customization code.
     9.9 +#
    9.10 +# This makefile implements macros and targets common to all configurations.
    9.11 +#
    9.12 +# NOCDDL
    9.13 +
    9.14 +
    9.15 +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
    9.16 +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
    9.17 +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
    9.18 +# and .clean-reqprojects-conf unless SUB has the value 'no'
    9.19 +SUB_no=NO
    9.20 +SUBPROJECTS=${SUB_${SUB}}
    9.21 +BUILD_SUBPROJECTS_=.build-subprojects
    9.22 +BUILD_SUBPROJECTS_NO=
    9.23 +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
    9.24 +CLEAN_SUBPROJECTS_=.clean-subprojects
    9.25 +CLEAN_SUBPROJECTS_NO=
    9.26 +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
    9.27 +
    9.28 +
    9.29 +# Project Name
    9.30 +PROJECTNAME=CppApplication_1
    9.31 +
    9.32 +# Active Configuration
    9.33 +DEFAULTCONF=Debug
    9.34 +CONF=${DEFAULTCONF}
    9.35 +
    9.36 +# All Configurations
    9.37 +ALLCONFS=Debug Release 
    9.38 +
    9.39 +
    9.40 +# build
    9.41 +.build-impl: .build-pre .validate-impl .depcheck-impl
    9.42 +	@#echo "=> Running $@... Configuration=$(CONF)"
    9.43 +	"${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf
    9.44 +
    9.45 +
    9.46 +# clean
    9.47 +.clean-impl: .clean-pre .validate-impl .depcheck-impl
    9.48 +	@#echo "=> Running $@... Configuration=$(CONF)"
    9.49 +	"${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf
    9.50 +
    9.51 +
    9.52 +# clobber 
    9.53 +.clobber-impl: .clobber-pre .depcheck-impl
    9.54 +	@#echo "=> Running $@..."
    9.55 +	for CONF in ${ALLCONFS}; \
    9.56 +	do \
    9.57 +	    "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
    9.58 +	done
    9.59 +
    9.60 +# all 
    9.61 +.all-impl: .all-pre .depcheck-impl
    9.62 +	@#echo "=> Running $@..."
    9.63 +	for CONF in ${ALLCONFS}; \
    9.64 +	do \
    9.65 +	    "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
    9.66 +	done
    9.67 +
    9.68 +# build tests
    9.69 +.build-tests-impl: .build-impl .build-tests-pre
    9.70 +	@#echo "=> Running $@... Configuration=$(CONF)"
    9.71 +	"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf
    9.72 +
    9.73 +# run tests
    9.74 +.test-impl: .build-tests-impl .test-pre
    9.75 +	@#echo "=> Running $@... Configuration=$(CONF)"
    9.76 +	"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
    9.77 +
    9.78 +# dependency checking support
    9.79 +.depcheck-impl:
    9.80 +	@echo "# This code depends on make tool being used" >.dep.inc
    9.81 +	@if [ -n "${MAKE_VERSION}" ]; then \
    9.82 +	    echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
    9.83 +	    echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
    9.84 +	    echo "include \$${DEPFILES}" >>.dep.inc; \
    9.85 +	    echo "endif" >>.dep.inc; \
    9.86 +	else \
    9.87 +	    echo ".KEEP_STATE:" >>.dep.inc; \
    9.88 +	    echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
    9.89 +	fi
    9.90 +
    9.91 +# configuration validation
    9.92 +.validate-impl:
    9.93 +	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
    9.94 +	then \
    9.95 +	    echo ""; \
    9.96 +	    echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
    9.97 +	    echo "See 'make help' for details."; \
    9.98 +	    echo "Current directory: " `pwd`; \
    9.99 +	    echo ""; \
   9.100 +	fi
   9.101 +	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
   9.102 +	then \
   9.103 +	    exit 1; \
   9.104 +	fi
   9.105 +
   9.106 +
   9.107 +# help
   9.108 +.help-impl: .help-pre
   9.109 +	@echo "This makefile supports the following configurations:"
   9.110 +	@echo "    ${ALLCONFS}"
   9.111 +	@echo ""
   9.112 +	@echo "and the following targets:"
   9.113 +	@echo "    build  (default target)"
   9.114 +	@echo "    clean"
   9.115 +	@echo "    clobber"
   9.116 +	@echo "    all"
   9.117 +	@echo "    help"
   9.118 +	@echo ""
   9.119 +	@echo "Makefile Usage:"
   9.120 +	@echo "    make [CONF=<CONFIGURATION>] [SUB=no] build"
   9.121 +	@echo "    make [CONF=<CONFIGURATION>] [SUB=no] clean"
   9.122 +	@echo "    make [SUB=no] clobber"
   9.123 +	@echo "    make [SUB=no] all"
   9.124 +	@echo "    make help"
   9.125 +	@echo ""
   9.126 +	@echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
   9.127 +	@echo "    also build subprojects."
   9.128 +	@echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
   9.129 +	@echo "    also clean subprojects."
   9.130 +	@echo "Target 'clobber' will remove all built files from all configurations and,"
   9.131 +	@echo "    unless 'SUB=no', also from subprojects."
   9.132 +	@echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
   9.133 +	@echo "    also build subprojects."
   9.134 +	@echo "Target 'help' prints this message."
   9.135 +	@echo ""
   9.136 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/CppApplication_1/nbproject/Makefile-variables.mk	Sun Jan 05 13:43:45 2014 -0800
    10.3 @@ -0,0 +1,35 @@
    10.4 +#
    10.5 +# Generated - do not edit!
    10.6 +#
    10.7 +# NOCDDL
    10.8 +#
    10.9 +CND_BASEDIR=`pwd`
   10.10 +CND_BUILDDIR=build
   10.11 +CND_DISTDIR=dist
   10.12 +# Debug configuration
   10.13 +CND_PLATFORM_Debug=GNU-Linux-x86
   10.14 +CND_ARTIFACT_DIR_Debug=dist/Debug/GNU-Linux-x86
   10.15 +CND_ARTIFACT_NAME_Debug=cppapplication_1
   10.16 +CND_ARTIFACT_PATH_Debug=dist/Debug/GNU-Linux-x86/cppapplication_1
   10.17 +CND_PACKAGE_DIR_Debug=dist/Debug/GNU-Linux-x86/package
   10.18 +CND_PACKAGE_NAME_Debug=cppapplication1.tar
   10.19 +CND_PACKAGE_PATH_Debug=dist/Debug/GNU-Linux-x86/package/cppapplication1.tar
   10.20 +# Release configuration
   10.21 +CND_PLATFORM_Release=GNU-Linux-x86
   10.22 +CND_ARTIFACT_DIR_Release=dist/Release/GNU-Linux-x86
   10.23 +CND_ARTIFACT_NAME_Release=cppapplication_1
   10.24 +CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux-x86/cppapplication_1
   10.25 +CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux-x86/package
   10.26 +CND_PACKAGE_NAME_Release=cppapplication1.tar
   10.27 +CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux-x86/package/cppapplication1.tar
   10.28 +#
   10.29 +# include compiler specific variables
   10.30 +#
   10.31 +# dmake command
   10.32 +ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \
   10.33 +	(mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)
   10.34 +#
   10.35 +# gmake command
   10.36 +.PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk))
   10.37 +#
   10.38 +include nbproject/private/Makefile-variables.mk
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/CppApplication_1/nbproject/Package-Debug.bash	Sun Jan 05 13:43:45 2014 -0800
    11.3 @@ -0,0 +1,75 @@
    11.4 +#!/bin/bash -x
    11.5 +
    11.6 +#
    11.7 +# Generated - do not edit!
    11.8 +#
    11.9 +
   11.10 +# Macros
   11.11 +TOP=`pwd`
   11.12 +CND_PLATFORM=GNU-Linux-x86
   11.13 +CND_CONF=Debug
   11.14 +CND_DISTDIR=dist
   11.15 +CND_BUILDDIR=build
   11.16 +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
   11.17 +TMPDIRNAME=tmp-packaging
   11.18 +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1
   11.19 +OUTPUT_BASENAME=cppapplication_1
   11.20 +PACKAGE_TOP_DIR=cppapplication1/
   11.21 +
   11.22 +# Functions
   11.23 +function checkReturnCode
   11.24 +{
   11.25 +    rc=$?
   11.26 +    if [ $rc != 0 ]
   11.27 +    then
   11.28 +        exit $rc
   11.29 +    fi
   11.30 +}
   11.31 +function makeDirectory
   11.32 +# $1 directory path
   11.33 +# $2 permission (optional)
   11.34 +{
   11.35 +    mkdir -p "$1"
   11.36 +    checkReturnCode
   11.37 +    if [ "$2" != "" ]
   11.38 +    then
   11.39 +      chmod $2 "$1"
   11.40 +      checkReturnCode
   11.41 +    fi
   11.42 +}
   11.43 +function copyFileToTmpDir
   11.44 +# $1 from-file path
   11.45 +# $2 to-file path
   11.46 +# $3 permission
   11.47 +{
   11.48 +    cp "$1" "$2"
   11.49 +    checkReturnCode
   11.50 +    if [ "$3" != "" ]
   11.51 +    then
   11.52 +        chmod $3 "$2"
   11.53 +        checkReturnCode
   11.54 +    fi
   11.55 +}
   11.56 +
   11.57 +# Setup
   11.58 +cd "${TOP}"
   11.59 +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
   11.60 +rm -rf ${NBTMPDIR}
   11.61 +mkdir -p ${NBTMPDIR}
   11.62 +
   11.63 +# Copy files and create directories and links
   11.64 +cd "${TOP}"
   11.65 +makeDirectory "${NBTMPDIR}/cppapplication1/bin"
   11.66 +copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
   11.67 +
   11.68 +
   11.69 +# Generate tar file
   11.70 +cd "${TOP}"
   11.71 +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar
   11.72 +cd ${NBTMPDIR}
   11.73 +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar *
   11.74 +checkReturnCode
   11.75 +
   11.76 +# Cleanup
   11.77 +cd "${TOP}"
   11.78 +rm -rf ${NBTMPDIR}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/CppApplication_1/nbproject/Package-Release.bash	Sun Jan 05 13:43:45 2014 -0800
    12.3 @@ -0,0 +1,75 @@
    12.4 +#!/bin/bash -x
    12.5 +
    12.6 +#
    12.7 +# Generated - do not edit!
    12.8 +#
    12.9 +
   12.10 +# Macros
   12.11 +TOP=`pwd`
   12.12 +CND_PLATFORM=GNU-Linux-x86
   12.13 +CND_CONF=Release
   12.14 +CND_DISTDIR=dist
   12.15 +CND_BUILDDIR=build
   12.16 +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
   12.17 +TMPDIRNAME=tmp-packaging
   12.18 +OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1
   12.19 +OUTPUT_BASENAME=cppapplication_1
   12.20 +PACKAGE_TOP_DIR=cppapplication1/
   12.21 +
   12.22 +# Functions
   12.23 +function checkReturnCode
   12.24 +{
   12.25 +    rc=$?
   12.26 +    if [ $rc != 0 ]
   12.27 +    then
   12.28 +        exit $rc
   12.29 +    fi
   12.30 +}
   12.31 +function makeDirectory
   12.32 +# $1 directory path
   12.33 +# $2 permission (optional)
   12.34 +{
   12.35 +    mkdir -p "$1"
   12.36 +    checkReturnCode
   12.37 +    if [ "$2" != "" ]
   12.38 +    then
   12.39 +      chmod $2 "$1"
   12.40 +      checkReturnCode
   12.41 +    fi
   12.42 +}
   12.43 +function copyFileToTmpDir
   12.44 +# $1 from-file path
   12.45 +# $2 to-file path
   12.46 +# $3 permission
   12.47 +{
   12.48 +    cp "$1" "$2"
   12.49 +    checkReturnCode
   12.50 +    if [ "$3" != "" ]
   12.51 +    then
   12.52 +        chmod $3 "$2"
   12.53 +        checkReturnCode
   12.54 +    fi
   12.55 +}
   12.56 +
   12.57 +# Setup
   12.58 +cd "${TOP}"
   12.59 +mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
   12.60 +rm -rf ${NBTMPDIR}
   12.61 +mkdir -p ${NBTMPDIR}
   12.62 +
   12.63 +# Copy files and create directories and links
   12.64 +cd "${TOP}"
   12.65 +makeDirectory "${NBTMPDIR}/cppapplication1/bin"
   12.66 +copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
   12.67 +
   12.68 +
   12.69 +# Generate tar file
   12.70 +cd "${TOP}"
   12.71 +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar
   12.72 +cd ${NBTMPDIR}
   12.73 +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar *
   12.74 +checkReturnCode
   12.75 +
   12.76 +# Cleanup
   12.77 +cd "${TOP}"
   12.78 +rm -rf ${NBTMPDIR}
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/CppApplication_1/nbproject/configurations.xml	Sun Jan 05 13:43:45 2014 -0800
    13.3 @@ -0,0 +1,80 @@
    13.4 +<?xml version="1.0" encoding="UTF-8"?>
    13.5 +<configurationDescriptor version="79">
    13.6 +  <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
    13.7 +    <logicalFolder name="HeaderFiles"
    13.8 +                   displayName="Header Files"
    13.9 +                   projectFiles="true">
   13.10 +    </logicalFolder>
   13.11 +    <logicalFolder name="ResourceFiles"
   13.12 +                   displayName="Resource Files"
   13.13 +                   projectFiles="true">
   13.14 +    </logicalFolder>
   13.15 +    <logicalFolder name="SourceFiles"
   13.16 +                   displayName="Source Files"
   13.17 +                   projectFiles="true">
   13.18 +      <itemPath>first.cpp</itemPath>
   13.19 +    </logicalFolder>
   13.20 +    <logicalFolder name="TestFiles"
   13.21 +                   displayName="Test Files"
   13.22 +                   projectFiles="false"
   13.23 +                   kind="TEST_LOGICAL_FOLDER">
   13.24 +    </logicalFolder>
   13.25 +    <logicalFolder name="ExternalFiles"
   13.26 +                   displayName="Important Files"
   13.27 +                   projectFiles="false"
   13.28 +                   kind="IMPORTANT_FILES_FOLDER">
   13.29 +      <itemPath>Makefile</itemPath>
   13.30 +    </logicalFolder>
   13.31 +  </logicalFolder>
   13.32 +  <projectmakefile>Makefile</projectmakefile>
   13.33 +  <confs>
   13.34 +    <conf name="Debug" type="1">
   13.35 +      <toolsSet>
   13.36 +        <remote-sources-mode>LOCAL_SOURCES</remote-sources-mode>
   13.37 +        <compilerSet>default</compilerSet>
   13.38 +      </toolsSet>
   13.39 +      <compileType>
   13.40 +        <cTool>
   13.41 +          <incDir>
   13.42 +            <pElem>/usr/local/include/js</pElem>
   13.43 +          </incDir>
   13.44 +        </cTool>
   13.45 +        <ccTool>
   13.46 +          <incDir>
   13.47 +            <pElem>/usr/local/include/js</pElem>
   13.48 +          </incDir>
   13.49 +        </ccTool>
   13.50 +        <linkerTool>
   13.51 +          <linkerAddLib>
   13.52 +            <pElem>/usr/local/lib</pElem>
   13.53 +          </linkerAddLib>
   13.54 +          <linkerLibItems>
   13.55 +            <linkerLibLibItem>mozjs185-1.0</linkerLibLibItem>
   13.56 +            <linkerLibLibItem>mozjs185</linkerLibLibItem>
   13.57 +            <linkerLibLibItem>pthread</linkerLibLibItem>
   13.58 +          </linkerLibItems>
   13.59 +        </linkerTool>
   13.60 +      </compileType>
   13.61 +    </conf>
   13.62 +    <conf name="Release" type="1">
   13.63 +      <toolsSet>
   13.64 +        <remote-sources-mode>LOCAL_SOURCES</remote-sources-mode>
   13.65 +        <compilerSet>default</compilerSet>
   13.66 +      </toolsSet>
   13.67 +      <compileType>
   13.68 +        <cTool>
   13.69 +          <developmentMode>5</developmentMode>
   13.70 +        </cTool>
   13.71 +        <ccTool>
   13.72 +          <developmentMode>5</developmentMode>
   13.73 +        </ccTool>
   13.74 +        <fortranCompilerTool>
   13.75 +          <developmentMode>5</developmentMode>
   13.76 +        </fortranCompilerTool>
   13.77 +        <asmTool>
   13.78 +          <developmentMode>5</developmentMode>
   13.79 +        </asmTool>
   13.80 +      </compileType>
   13.81 +    </conf>
   13.82 +  </confs>
   13.83 +</configurationDescriptor>
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/CppApplication_1/nbproject/private/Makefile-variables.mk	Sun Jan 05 13:43:45 2014 -0800
    14.3 @@ -0,0 +1,7 @@
    14.4 +#
    14.5 +# Generated - do not edit!
    14.6 +#
    14.7 +# NOCDDL
    14.8 +#
    14.9 +# Debug configuration
   14.10 +# Release configuration
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/CppApplication_1/nbproject/private/configurations.xml	Sun Jan 05 13:43:45 2014 -0800
    15.3 @@ -0,0 +1,77 @@
    15.4 +<?xml version="1.0" encoding="UTF-8"?>
    15.5 +<configurationDescriptor version="79">
    15.6 +  <projectmakefile>Makefile</projectmakefile>
    15.7 +  <confs>
    15.8 +    <conf name="Debug" type="1">
    15.9 +      <toolsSet>
   15.10 +        <developmentServer>localhost</developmentServer>
   15.11 +        <platform>2</platform>
   15.12 +      </toolsSet>
   15.13 +      <dbx_gdbdebugger version="1">
   15.14 +        <gdb_pathmaps>
   15.15 +        </gdb_pathmaps>
   15.16 +        <gdb_interceptlist>
   15.17 +          <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
   15.18 +        </gdb_interceptlist>
   15.19 +        <gdb_options>
   15.20 +          <DebugOptions>
   15.21 +          </DebugOptions>
   15.22 +        </gdb_options>
   15.23 +        <gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
   15.24 +      </dbx_gdbdebugger>
   15.25 +      <gizmo_options version="3">
   15.26 +        <configurationname>GizmoSimple</configurationname>
   15.27 +      </gizmo_options>
   15.28 +      <nativedebugger version="1">
   15.29 +        <engine>gdb</engine>
   15.30 +      </nativedebugger>
   15.31 +      <runprofile version="9">
   15.32 +        <runcommandpicklist>
   15.33 +          <runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
   15.34 +        </runcommandpicklist>
   15.35 +        <runcommand>"${OUTPUT_PATH}"</runcommand>
   15.36 +        <rundir></rundir>
   15.37 +        <buildfirst>true</buildfirst>
   15.38 +        <terminal-type>0</terminal-type>
   15.39 +        <remove-instrumentation>0</remove-instrumentation>
   15.40 +        <environment>
   15.41 +        </environment>
   15.42 +      </runprofile>
   15.43 +    </conf>
   15.44 +    <conf name="Release" type="1">
   15.45 +      <toolsSet>
   15.46 +        <developmentServer>localhost</developmentServer>
   15.47 +        <platform>2</platform>
   15.48 +      </toolsSet>
   15.49 +      <dbx_gdbdebugger version="1">
   15.50 +        <gdb_pathmaps>
   15.51 +        </gdb_pathmaps>
   15.52 +        <gdb_interceptlist>
   15.53 +          <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
   15.54 +        </gdb_interceptlist>
   15.55 +        <gdb_options>
   15.56 +          <DebugOptions>
   15.57 +          </DebugOptions>
   15.58 +        </gdb_options>
   15.59 +        <gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
   15.60 +      </dbx_gdbdebugger>
   15.61 +      <gizmo_options version="3">
   15.62 +      </gizmo_options>
   15.63 +      <nativedebugger version="1">
   15.64 +        <engine>gdb</engine>
   15.65 +      </nativedebugger>
   15.66 +      <runprofile version="9">
   15.67 +        <runcommandpicklist>
   15.68 +          <runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
   15.69 +        </runcommandpicklist>
   15.70 +        <runcommand>"${OUTPUT_PATH}"</runcommand>
   15.71 +        <rundir></rundir>
   15.72 +        <buildfirst>true</buildfirst>
   15.73 +        <terminal-type>0</terminal-type>
   15.74 +        <remove-instrumentation>0</remove-instrumentation>
   15.75 +        <environment>
   15.76 +        </environment>
   15.77 +      </runprofile>
   15.78 +    </conf>
   15.79 +  </confs>
   15.80 +</configurationDescriptor>
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/CppApplication_1/nbproject/private/private.xml	Sun Jan 05 13:43:45 2014 -0800
    16.3 @@ -0,0 +1,8 @@
    16.4 +<?xml version="1.0" encoding="UTF-8"?>
    16.5 +<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
    16.6 +    <data xmlns="http://www.netbeans.org/ns/make-project-private/1">
    16.7 +        <activeConfTypeElem>1</activeConfTypeElem>
    16.8 +        <activeConfIndexElem>0</activeConfIndexElem>
    16.9 +    </data>
   16.10 +    <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
   16.11 +</project-private>
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/CppApplication_1/nbproject/project.xml	Sun Jan 05 13:43:45 2014 -0800
    17.3 @@ -0,0 +1,25 @@
    17.4 +<?xml version="1.0" encoding="UTF-8"?>
    17.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
    17.6 +    <type>org.netbeans.modules.cnd.makeproject</type>
    17.7 +    <configuration>
    17.8 +        <data xmlns="http://www.netbeans.org/ns/make-project/1">
    17.9 +            <name>CppApplication_1</name>
   17.10 +            <c-extensions/>
   17.11 +            <cpp-extensions>cpp</cpp-extensions>
   17.12 +            <header-extensions/>
   17.13 +            <sourceEncoding>UTF-8</sourceEncoding>
   17.14 +            <make-dep-projects/>
   17.15 +            <sourceRootList/>
   17.16 +            <confList>
   17.17 +                <confElem>
   17.18 +                    <name>Debug</name>
   17.19 +                    <type>1</type>
   17.20 +                </confElem>
   17.21 +                <confElem>
   17.22 +                    <name>Release</name>
   17.23 +                    <type>1</type>
   17.24 +                </confElem>
   17.25 +            </confList>
   17.26 +        </data>
   17.27 +    </configuration>
   17.28 +</project>