Mercurial > cgi-bin > hgwebdir.cgi > PR > PR_Integrations > javascript > SpiderMonkey
changeset 2:993424504eb7
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 14:13:51 -0800 |
| parents | 4ac33e06cb09 |
| children | b3ad79b3197c |
| files | CppApplication_1 (copy)/.dep.inc CppApplication_1 (copy)/Makefile CppApplication_1 (copy)/build/Debug/GNU-Linux-x86/first.o CppApplication_1 (copy)/build/Debug/GNU-Linux-x86/first.o.d CppApplication_1 (copy)/dist/Debug/GNU-Linux-x86/cppapplication_1 CppApplication_1 (copy)/first.cpp CppApplication_1 (copy)/nbproject/Makefile-Debug.mk CppApplication_1 (copy)/nbproject/Makefile-Release.mk CppApplication_1 (copy)/nbproject/Makefile-impl.mk CppApplication_1 (copy)/nbproject/Makefile-variables.mk CppApplication_1 (copy)/nbproject/Package-Debug.bash CppApplication_1 (copy)/nbproject/Package-Release.bash CppApplication_1 (copy)/nbproject/configurations.xml CppApplication_1 (copy)/nbproject/private/Makefile-variables.mk CppApplication_1 (copy)/nbproject/private/configurations.xml CppApplication_1 (copy)/nbproject/private/private.xml CppApplication_1 (copy)/nbproject/project.xml 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 |
| diffstat | 34 files changed, 1024 insertions(+), 1024 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/CppApplication_1 (copy)/.dep.inc Sun Jan 05 14:13:51 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 (copy)/Makefile Sun Jan 05 14:13:51 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 (copy)/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 (copy)/build/Debug/GNU-Linux-x86/first.o.d Sun Jan 05 14:13:51 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 (copy)/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 (copy)/first.cpp Sun Jan 05 14:13:51 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 (copy)/nbproject/Makefile-Debug.mk Sun Jan 05 14:13:51 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 (copy)/nbproject/Makefile-Release.mk Sun Jan 05 14:13:51 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 (copy)/nbproject/Makefile-impl.mk Sun Jan 05 14:13:51 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 (copy)/nbproject/Makefile-variables.mk Sun Jan 05 14:13:51 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 (copy)/nbproject/Package-Debug.bash Sun Jan 05 14:13:51 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 (copy)/nbproject/Package-Release.bash Sun Jan 05 14:13:51 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 (copy)/nbproject/configurations.xml Sun Jan 05 14:13:51 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 (copy)/nbproject/private/Makefile-variables.mk Sun Jan 05 14:13:51 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 (copy)/nbproject/private/configurations.xml Sun Jan 05 14:13:51 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 (copy)/nbproject/private/private.xml Sun Jan 05 14:13:51 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 (copy)/nbproject/project.xml Sun Jan 05 14:13:51 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>
18.1 --- a/CppApplication_1/.dep.inc Sun Jan 05 13:43:45 2014 -0800 18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 18.3 @@ -1,5 +0,0 @@ 18.4 -# This code depends on make tool being used 18.5 -DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES})) 18.6 -ifneq (${DEPFILES},) 18.7 -include ${DEPFILES} 18.8 -endif
19.1 --- a/CppApplication_1/Makefile Sun Jan 05 13:43:45 2014 -0800 19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 19.3 @@ -1,128 +0,0 @@ 19.4 -# 19.5 -# There exist several targets which are by default empty and which can be 19.6 -# used for execution of your targets. These targets are usually executed 19.7 -# before and after some main targets. They are: 19.8 -# 19.9 -# .build-pre: called before 'build' target 19.10 -# .build-post: called after 'build' target 19.11 -# .clean-pre: called before 'clean' target 19.12 -# .clean-post: called after 'clean' target 19.13 -# .clobber-pre: called before 'clobber' target 19.14 -# .clobber-post: called after 'clobber' target 19.15 -# .all-pre: called before 'all' target 19.16 -# .all-post: called after 'all' target 19.17 -# .help-pre: called before 'help' target 19.18 -# .help-post: called after 'help' target 19.19 -# 19.20 -# Targets beginning with '.' are not intended to be called on their own. 19.21 -# 19.22 -# Main targets can be executed directly, and they are: 19.23 -# 19.24 -# build build a specific configuration 19.25 -# clean remove built files from a configuration 19.26 -# clobber remove all built files 19.27 -# all build all configurations 19.28 -# help print help mesage 19.29 -# 19.30 -# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and 19.31 -# .help-impl are implemented in nbproject/makefile-impl.mk. 19.32 -# 19.33 -# Available make variables: 19.34 -# 19.35 -# CND_BASEDIR base directory for relative paths 19.36 -# CND_DISTDIR default top distribution directory (build artifacts) 19.37 -# CND_BUILDDIR default top build directory (object files, ...) 19.38 -# CONF name of current configuration 19.39 -# CND_PLATFORM_${CONF} platform name (current configuration) 19.40 -# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) 19.41 -# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) 19.42 -# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) 19.43 -# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) 19.44 -# CND_PACKAGE_NAME_${CONF} name of package (current configuration) 19.45 -# CND_PACKAGE_PATH_${CONF} path to package (current configuration) 19.46 -# 19.47 -# NOCDDL 19.48 - 19.49 - 19.50 -# Environment 19.51 -MKDIR=mkdir 19.52 -CP=cp 19.53 -CCADMIN=CCadmin 19.54 - 19.55 - 19.56 -# build 19.57 -build: .build-post 19.58 - 19.59 -.build-pre: 19.60 -# Add your pre 'build' code here... 19.61 - 19.62 -.build-post: .build-impl 19.63 -# Add your post 'build' code here... 19.64 - 19.65 - 19.66 -# clean 19.67 -clean: .clean-post 19.68 - 19.69 -.clean-pre: 19.70 -# Add your pre 'clean' code here... 19.71 - 19.72 -.clean-post: .clean-impl 19.73 -# Add your post 'clean' code here... 19.74 - 19.75 - 19.76 -# clobber 19.77 -clobber: .clobber-post 19.78 - 19.79 -.clobber-pre: 19.80 -# Add your pre 'clobber' code here... 19.81 - 19.82 -.clobber-post: .clobber-impl 19.83 -# Add your post 'clobber' code here... 19.84 - 19.85 - 19.86 -# all 19.87 -all: .all-post 19.88 - 19.89 -.all-pre: 19.90 -# Add your pre 'all' code here... 19.91 - 19.92 -.all-post: .all-impl 19.93 -# Add your post 'all' code here... 19.94 - 19.95 - 19.96 -# build tests 19.97 -build-tests: .build-tests-post 19.98 - 19.99 -.build-tests-pre: 19.100 -# Add your pre 'build-tests' code here... 19.101 - 19.102 -.build-tests-post: .build-tests-impl 19.103 -# Add your post 'build-tests' code here... 19.104 - 19.105 - 19.106 -# run tests 19.107 -test: .test-post 19.108 - 19.109 -.test-pre: 19.110 -# Add your pre 'test' code here... 19.111 - 19.112 -.test-post: .test-impl 19.113 -# Add your post 'test' code here... 19.114 - 19.115 - 19.116 -# help 19.117 -help: .help-post 19.118 - 19.119 -.help-pre: 19.120 -# Add your pre 'help' code here... 19.121 - 19.122 -.help-post: .help-impl 19.123 -# Add your post 'help' code here... 19.124 - 19.125 - 19.126 - 19.127 -# include project implementation makefile 19.128 -include nbproject/Makefile-impl.mk 19.129 - 19.130 -# include project make variables 19.131 -include nbproject/Makefile-variables.mk
20.1 Binary file CppApplication_1/build/Debug/GNU-Linux-x86/first.o has changed
21.1 --- a/CppApplication_1/build/Debug/GNU-Linux-x86/first.o.d Sun Jan 05 13:43:45 2014 -0800 21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 21.3 @@ -1,34 +0,0 @@ 21.4 -build/Debug/GNU-Linux-x86/first.o: first.cpp \ 21.5 - /usr/local/include/js/jsapi.h /usr/local/include/js/js-config.h \ 21.6 - /usr/local/include/js/jspubtd.h /usr/local/include/js/jstypes.h \ 21.7 - /usr/local/include/js/jsautocfg.h /usr/local/include/js/jsinttypes.h \ 21.8 - /usr/local/include/js/jsotypes.h /usr/local/include/js/jscompat.h \ 21.9 - /usr/local/include/js/jslong.h /usr/local/include/js/jsval.h \ 21.10 - /usr/local/include/js/jsutil.h /usr/local/include/js/jsproto.tbl \ 21.11 - /usr/local/include/js/jsversion.h 21.12 - 21.13 -/usr/local/include/js/jsapi.h: 21.14 - 21.15 -/usr/local/include/js/js-config.h: 21.16 - 21.17 -/usr/local/include/js/jspubtd.h: 21.18 - 21.19 -/usr/local/include/js/jstypes.h: 21.20 - 21.21 -/usr/local/include/js/jsautocfg.h: 21.22 - 21.23 -/usr/local/include/js/jsinttypes.h: 21.24 - 21.25 -/usr/local/include/js/jsotypes.h: 21.26 - 21.27 -/usr/local/include/js/jscompat.h: 21.28 - 21.29 -/usr/local/include/js/jslong.h: 21.30 - 21.31 -/usr/local/include/js/jsval.h: 21.32 - 21.33 -/usr/local/include/js/jsutil.h: 21.34 - 21.35 -/usr/local/include/js/jsproto.tbl: 21.36 - 21.37 -/usr/local/include/js/jsversion.h:
22.1 Binary file CppApplication_1/dist/Debug/GNU-Linux-x86/cppapplication_1 has changed
23.1 --- a/CppApplication_1/first.cpp Sun Jan 05 13:43:45 2014 -0800 23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 23.3 @@ -1,176 +0,0 @@ 23.4 -/* 23.5 - * File: first.cpp 23.6 - * Author: sara 23.7 - * 23.8 - * Created on December 30, 2013, 11:41 AM 23.9 - */ 23.10 - 23.11 -#include <cstdlib> 23.12 -/* Include the JSAPI header file to get access to SpiderMonkey. */ 23.13 -#include "jsapi.h" 23.14 -#include <pthread.h> 23.15 - 23.16 -using namespace std; 23.17 -struct thread_parameter 23.18 -{ 23.19 - // char *uncompiledScript; 23.20 - // JSObject *sharedGlobalObject; 23.21 - // JSRuntime *currRt; 23.22 - char *tempstr; 23.23 - 23.24 - 23.25 -}; 23.26 -/* The class of the global object. */ 23.27 -JSRuntime *rt; 23.28 -JSObject *global; 23.29 -static JSClass global_class = { 23.30 - "global", JSCLASS_GLOBAL_FLAGS, 23.31 - JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_StrictPropertyStub, 23.32 - JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub, 23.33 - JSCLASS_NO_OPTIONAL_MEMBERS 23.34 -}; 23.35 - 23.36 -/* The error reporter callback. */ 23.37 -void reportError(JSContext *cx, const char *message, JSErrorReport *report) 23.38 -{ 23.39 - fprintf(stderr, "%s:%u:%s\n", 23.40 - report->filename ? report->filename : "<no filename=\"filename\">", 23.41 - (unsigned int) report->lineno, 23.42 - message); 23.43 -} 23.44 -/** the function which the thread executes when is created at main 23.45 - *@parameter structure of all the argument the function needs 23.46 - *@return return null at the end 23.47 -*/ 23.48 -void *threadFunction(void* arg){ 23.49 - /* indicates that the execution of the script is executed successfully or not*/ 23.50 - bool execute; 23.51 - int temp = 1; 23.52 -// char *script = "'Hi' + 'Sara'"; 23.53 - char threadScript[] = "'Hi ' + 'Sara!'"; 23.54 - char *scr = threadScript; 23.55 - JSString *outStr; 23.56 -/* carries the value of the last expression of the script*/ 23.57 - jsval rval1; 23.58 - 23.59 -/* The new context which is created by the thread*/ 23.60 - JSContext *currContext; 23.61 -/* pass the incoming argument of the function */ 23.62 -// struct thread_parameter *arg1 = (struct thread_parameter *) arg; 23.63 -//const char *uncScript = (const char*)arg->uncompiledScript; 23.64 - //scr = (char *)arg; 23.65 -/*Creates new context to be attached to the creator thread*/ 23.66 -currContext = JS_NewContext(rt, 8192); 23.67 - if (currContext == NULL) 23.68 - return NULL; 23.69 -/* In a thread safe build every entry to the api that uses 23.70 - context must be in a request for thread safety*/ 23.71 - JS_BeginRequest(currContext); 23.72 - JS_SetOptions(currContext, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT); 23.73 - JS_SetVersion(currContext, JSVERSION_LATEST); 23.74 -/*Compiles the incoming script*/ 23.75 - JSObject *compiledScript = JS_CompileScript(currContext, global, scr,strlen(scr), "threadFilename", 0); 23.76 -/*Executes the compiled script*/ 23.77 - execute = JS_ExecuteScript(currContext, global, compiledScript, &rval1); 23.78 - if ( rval1 == JS_FALSE)//rval == JS_NULL | 23.79 - return NULL; 23.80 - /*gets the returned value of the last expression of the executed script*/ 23.81 - outStr = JS_ValueToString(currContext, rval1); 23.82 - printf("%s\n", JS_EncodeString(currContext, outStr)); 23.83 -/*Ends the request */ 23.84 - JS_EndRequest(currContext); 23.85 -/*Destroy the context of that thread*/ 23.86 - JS_DestroyContext(currContext); 23.87 - //printf("HI, Sara"); 23.88 - return NULL; 23.89 - 23.90 -} 23.91 -/* 23.92 - * 23.93 - */ 23.94 -int main(int argc, const char *argv[]) { 23.95 - 23.96 - /* JSAPI variables. */ 23.97 - //JSRuntime *rt; 23.98 - JSContext *cx; 23.99 - // JSObject *global; 23.100 -/* id of the created thread*/ 23.101 - pthread_t thread_id; 23.102 - 23.103 - /* Create a JS runtime. You always need at least one runtime per process. */ 23.104 - rt = JS_NewRuntime(8 * 1024 * 1024); 23.105 - if (rt == NULL) 23.106 - return 1; 23.107 - 23.108 - /* 23.109 - * Create a context. You always need a context per thread. 23.110 - * Note that this program is not multi-threaded. 23.111 - This thread is used by the main thread only 23.112 - */ 23.113 - cx = JS_NewContext(rt, 8192); 23.114 - if (cx == NULL) 23.115 - return 1; 23.116 - JS_BeginRequest(cx); 23.117 - JS_SetOptions(cx, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT); 23.118 - JS_SetVersion(cx, JSVERSION_LATEST); 23.119 - JS_SetErrorReporter(cx, reportError); 23.120 - 23.121 - /* 23.122 - * Create the global object in a new compartment. 23.123 - * You always need a global object per context. 23.124 - */ 23.125 - 23.126 - global = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL); 23.127 - if (global == NULL) 23.128 - return 1; 23.129 - 23.130 - /* 23.131 - * Populate the global object with the standard JavaScript 23.132 - * function and object classes, such as Object, Array, Date. 23.133 - */ 23.134 - if (!JS_InitStandardClasses(cx, global)) 23.135 - return 1; 23.136 - 23.137 - /* Your application code here. This may include JSAPI calls 23.138 - * to create your own custom JavaScript objects and to run scripts. 23.139 - * 23.140 - * The following example code creates a literal JavaScript script, 23.141 - * evaluates it, and prints the result to stdout. 23.142 - * 23.143 - * Errors are conventionally saved in a JSBool variable named ok. 23.144 - */ 23.145 - 23.146 - 23.147 - /** Create the thread here....*/ 23.148 - struct thread_parameter threadArg; 23.149 - //threadArg.sharedGlobalObject = global; 23.150 - char threadScript[] = "'Hi ' + 'Sara!'"; 23.151 - //threadArg.tempstr = threadScript; 23.152 - //threadArg.currRt = rt; 23.153 - 23.154 - pthread_create(&thread_id, NULL, &threadFunction,NULL); 23.155 -/*****************************************************************/ 23.156 - const char *script = "'Hello ' + 'World!'"; 23.157 - jsval rval; 23.158 - JSString *str; 23.159 - JSBool ok; 23.160 - const char *filename = "noname"; 23.161 - uintN lineno = 0; 23.162 - ok = JS_EvaluateScript(cx, global, script, strlen(script), 23.163 - filename, lineno, &rval); 23.164 - if ( rval == JS_FALSE)//rval == JS_NULL | 23.165 - return 1; 23.166 - str = JS_ValueToString(cx, rval); 23.167 - printf("%s\n", JS_EncodeString(cx, str)); 23.168 - 23.169 - /* End of your application code */ 23.170 - 23.171 - /* Clean things up and shut down SpiderMonkey. */ 23.172 - JS_EndRequest(cx); 23.173 - JS_DestroyContext(cx); 23.174 - JS_DestroyRuntime(rt); 23.175 - JS_ShutDown(); 23.176 - 23.177 - return 0; 23.178 -} 23.179 -
24.1 --- a/CppApplication_1/nbproject/Makefile-Debug.mk Sun Jan 05 13:43:45 2014 -0800 24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 24.3 @@ -1,83 +0,0 @@ 24.4 -# 24.5 -# Generated Makefile - do not edit! 24.6 -# 24.7 -# Edit the Makefile in the project folder instead (../Makefile). Each target 24.8 -# has a -pre and a -post target defined where you can add customized code. 24.9 -# 24.10 -# This makefile implements configuration specific macros and targets. 24.11 - 24.12 - 24.13 -# Environment 24.14 -MKDIR=mkdir 24.15 -CP=cp 24.16 -GREP=grep 24.17 -NM=nm 24.18 -CCADMIN=CCadmin 24.19 -RANLIB=ranlib 24.20 -CC=gcc 24.21 -CCC=g++ 24.22 -CXX=g++ 24.23 -FC=gfortran 24.24 -AS=as 24.25 - 24.26 -# Macros 24.27 -CND_PLATFORM=GNU-Linux-x86 24.28 -CND_CONF=Debug 24.29 -CND_DISTDIR=dist 24.30 -CND_BUILDDIR=build 24.31 - 24.32 -# Include project Makefile 24.33 -include Makefile 24.34 - 24.35 -# Object Directory 24.36 -OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} 24.37 - 24.38 -# Object Files 24.39 -OBJECTFILES= \ 24.40 - ${OBJECTDIR}/first.o 24.41 - 24.42 - 24.43 -# C Compiler Flags 24.44 -CFLAGS= 24.45 - 24.46 -# CC Compiler Flags 24.47 -CCFLAGS= 24.48 -CXXFLAGS= 24.49 - 24.50 -# Fortran Compiler Flags 24.51 -FFLAGS= 24.52 - 24.53 -# Assembler Flags 24.54 -ASFLAGS= 24.55 - 24.56 -# Link Libraries and Options 24.57 -LDLIBSOPTIONS=-L/usr/local/lib -lmozjs185-1.0 -lmozjs185 -lpthread 24.58 - 24.59 -# Build Targets 24.60 -.build-conf: ${BUILD_SUBPROJECTS} 24.61 - "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 24.62 - 24.63 -${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1: ${OBJECTFILES} 24.64 - ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} 24.65 - ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 ${OBJECTFILES} ${LDLIBSOPTIONS} 24.66 - 24.67 -${OBJECTDIR}/first.o: first.cpp 24.68 - ${MKDIR} -p ${OBJECTDIR} 24.69 - ${RM} $@.d 24.70 - $(COMPILE.cc) -g -I/usr/local/include/js -MMD -MP -MF $@.d -o ${OBJECTDIR}/first.o first.cpp 24.71 - 24.72 -# Subprojects 24.73 -.build-subprojects: 24.74 - 24.75 -# Clean Targets 24.76 -.clean-conf: ${CLEAN_SUBPROJECTS} 24.77 - ${RM} -r ${CND_BUILDDIR}/${CND_CONF} 24.78 - ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 24.79 - 24.80 -# Subprojects 24.81 -.clean-subprojects: 24.82 - 24.83 -# Enable dependency checking 24.84 -.dep.inc: .depcheck-impl 24.85 - 24.86 -include .dep.inc
25.1 --- a/CppApplication_1/nbproject/Makefile-Release.mk Sun Jan 05 13:43:45 2014 -0800 25.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 25.3 @@ -1,83 +0,0 @@ 25.4 -# 25.5 -# Generated Makefile - do not edit! 25.6 -# 25.7 -# Edit the Makefile in the project folder instead (../Makefile). Each target 25.8 -# has a -pre and a -post target defined where you can add customized code. 25.9 -# 25.10 -# This makefile implements configuration specific macros and targets. 25.11 - 25.12 - 25.13 -# Environment 25.14 -MKDIR=mkdir 25.15 -CP=cp 25.16 -GREP=grep 25.17 -NM=nm 25.18 -CCADMIN=CCadmin 25.19 -RANLIB=ranlib 25.20 -CC=gcc 25.21 -CCC=g++ 25.22 -CXX=g++ 25.23 -FC=gfortran 25.24 -AS=as 25.25 - 25.26 -# Macros 25.27 -CND_PLATFORM=GNU-Linux-x86 25.28 -CND_CONF=Release 25.29 -CND_DISTDIR=dist 25.30 -CND_BUILDDIR=build 25.31 - 25.32 -# Include project Makefile 25.33 -include Makefile 25.34 - 25.35 -# Object Directory 25.36 -OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} 25.37 - 25.38 -# Object Files 25.39 -OBJECTFILES= \ 25.40 - ${OBJECTDIR}/first.o 25.41 - 25.42 - 25.43 -# C Compiler Flags 25.44 -CFLAGS= 25.45 - 25.46 -# CC Compiler Flags 25.47 -CCFLAGS= 25.48 -CXXFLAGS= 25.49 - 25.50 -# Fortran Compiler Flags 25.51 -FFLAGS= 25.52 - 25.53 -# Assembler Flags 25.54 -ASFLAGS= 25.55 - 25.56 -# Link Libraries and Options 25.57 -LDLIBSOPTIONS= 25.58 - 25.59 -# Build Targets 25.60 -.build-conf: ${BUILD_SUBPROJECTS} 25.61 - "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 25.62 - 25.63 -${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1: ${OBJECTFILES} 25.64 - ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} 25.65 - ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 ${OBJECTFILES} ${LDLIBSOPTIONS} 25.66 - 25.67 -${OBJECTDIR}/first.o: first.cpp 25.68 - ${MKDIR} -p ${OBJECTDIR} 25.69 - ${RM} $@.d 25.70 - $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/first.o first.cpp 25.71 - 25.72 -# Subprojects 25.73 -.build-subprojects: 25.74 - 25.75 -# Clean Targets 25.76 -.clean-conf: ${CLEAN_SUBPROJECTS} 25.77 - ${RM} -r ${CND_BUILDDIR}/${CND_CONF} 25.78 - ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 25.79 - 25.80 -# Subprojects 25.81 -.clean-subprojects: 25.82 - 25.83 -# Enable dependency checking 25.84 -.dep.inc: .depcheck-impl 25.85 - 25.86 -include .dep.inc
26.1 --- a/CppApplication_1/nbproject/Makefile-impl.mk Sun Jan 05 13:43:45 2014 -0800 26.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 26.3 @@ -1,133 +0,0 @@ 26.4 -# 26.5 -# Generated Makefile - do not edit! 26.6 -# 26.7 -# Edit the Makefile in the project folder instead (../Makefile). Each target 26.8 -# has a pre- and a post- target defined where you can add customization code. 26.9 -# 26.10 -# This makefile implements macros and targets common to all configurations. 26.11 -# 26.12 -# NOCDDL 26.13 - 26.14 - 26.15 -# Building and Cleaning subprojects are done by default, but can be controlled with the SUB 26.16 -# macro. If SUB=no, subprojects will not be built or cleaned. The following macro 26.17 -# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf 26.18 -# and .clean-reqprojects-conf unless SUB has the value 'no' 26.19 -SUB_no=NO 26.20 -SUBPROJECTS=${SUB_${SUB}} 26.21 -BUILD_SUBPROJECTS_=.build-subprojects 26.22 -BUILD_SUBPROJECTS_NO= 26.23 -BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} 26.24 -CLEAN_SUBPROJECTS_=.clean-subprojects 26.25 -CLEAN_SUBPROJECTS_NO= 26.26 -CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} 26.27 - 26.28 - 26.29 -# Project Name 26.30 -PROJECTNAME=CppApplication_1 26.31 - 26.32 -# Active Configuration 26.33 -DEFAULTCONF=Debug 26.34 -CONF=${DEFAULTCONF} 26.35 - 26.36 -# All Configurations 26.37 -ALLCONFS=Debug Release 26.38 - 26.39 - 26.40 -# build 26.41 -.build-impl: .build-pre .validate-impl .depcheck-impl 26.42 - @#echo "=> Running $@... Configuration=$(CONF)" 26.43 - "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf 26.44 - 26.45 - 26.46 -# clean 26.47 -.clean-impl: .clean-pre .validate-impl .depcheck-impl 26.48 - @#echo "=> Running $@... Configuration=$(CONF)" 26.49 - "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf 26.50 - 26.51 - 26.52 -# clobber 26.53 -.clobber-impl: .clobber-pre .depcheck-impl 26.54 - @#echo "=> Running $@..." 26.55 - for CONF in ${ALLCONFS}; \ 26.56 - do \ 26.57 - "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \ 26.58 - done 26.59 - 26.60 -# all 26.61 -.all-impl: .all-pre .depcheck-impl 26.62 - @#echo "=> Running $@..." 26.63 - for CONF in ${ALLCONFS}; \ 26.64 - do \ 26.65 - "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \ 26.66 - done 26.67 - 26.68 -# build tests 26.69 -.build-tests-impl: .build-impl .build-tests-pre 26.70 - @#echo "=> Running $@... Configuration=$(CONF)" 26.71 - "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf 26.72 - 26.73 -# run tests 26.74 -.test-impl: .build-tests-impl .test-pre 26.75 - @#echo "=> Running $@... Configuration=$(CONF)" 26.76 - "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf 26.77 - 26.78 -# dependency checking support 26.79 -.depcheck-impl: 26.80 - @echo "# This code depends on make tool being used" >.dep.inc 26.81 - @if [ -n "${MAKE_VERSION}" ]; then \ 26.82 - echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ 26.83 - echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ 26.84 - echo "include \$${DEPFILES}" >>.dep.inc; \ 26.85 - echo "endif" >>.dep.inc; \ 26.86 - else \ 26.87 - echo ".KEEP_STATE:" >>.dep.inc; \ 26.88 - echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ 26.89 - fi 26.90 - 26.91 -# configuration validation 26.92 -.validate-impl: 26.93 - @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ 26.94 - then \ 26.95 - echo ""; \ 26.96 - echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \ 26.97 - echo "See 'make help' for details."; \ 26.98 - echo "Current directory: " `pwd`; \ 26.99 - echo ""; \ 26.100 - fi 26.101 - @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ 26.102 - then \ 26.103 - exit 1; \ 26.104 - fi 26.105 - 26.106 - 26.107 -# help 26.108 -.help-impl: .help-pre 26.109 - @echo "This makefile supports the following configurations:" 26.110 - @echo " ${ALLCONFS}" 26.111 - @echo "" 26.112 - @echo "and the following targets:" 26.113 - @echo " build (default target)" 26.114 - @echo " clean" 26.115 - @echo " clobber" 26.116 - @echo " all" 26.117 - @echo " help" 26.118 - @echo "" 26.119 - @echo "Makefile Usage:" 26.120 - @echo " make [CONF=<CONFIGURATION>] [SUB=no] build" 26.121 - @echo " make [CONF=<CONFIGURATION>] [SUB=no] clean" 26.122 - @echo " make [SUB=no] clobber" 26.123 - @echo " make [SUB=no] all" 26.124 - @echo " make help" 26.125 - @echo "" 26.126 - @echo "Target 'build' will build a specific configuration and, unless 'SUB=no'," 26.127 - @echo " also build subprojects." 26.128 - @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no'," 26.129 - @echo " also clean subprojects." 26.130 - @echo "Target 'clobber' will remove all built files from all configurations and," 26.131 - @echo " unless 'SUB=no', also from subprojects." 26.132 - @echo "Target 'all' will will build all configurations and, unless 'SUB=no'," 26.133 - @echo " also build subprojects." 26.134 - @echo "Target 'help' prints this message." 26.135 - @echo "" 26.136 -
27.1 --- a/CppApplication_1/nbproject/Makefile-variables.mk Sun Jan 05 13:43:45 2014 -0800 27.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 27.3 @@ -1,35 +0,0 @@ 27.4 -# 27.5 -# Generated - do not edit! 27.6 -# 27.7 -# NOCDDL 27.8 -# 27.9 -CND_BASEDIR=`pwd` 27.10 -CND_BUILDDIR=build 27.11 -CND_DISTDIR=dist 27.12 -# Debug configuration 27.13 -CND_PLATFORM_Debug=GNU-Linux-x86 27.14 -CND_ARTIFACT_DIR_Debug=dist/Debug/GNU-Linux-x86 27.15 -CND_ARTIFACT_NAME_Debug=cppapplication_1 27.16 -CND_ARTIFACT_PATH_Debug=dist/Debug/GNU-Linux-x86/cppapplication_1 27.17 -CND_PACKAGE_DIR_Debug=dist/Debug/GNU-Linux-x86/package 27.18 -CND_PACKAGE_NAME_Debug=cppapplication1.tar 27.19 -CND_PACKAGE_PATH_Debug=dist/Debug/GNU-Linux-x86/package/cppapplication1.tar 27.20 -# Release configuration 27.21 -CND_PLATFORM_Release=GNU-Linux-x86 27.22 -CND_ARTIFACT_DIR_Release=dist/Release/GNU-Linux-x86 27.23 -CND_ARTIFACT_NAME_Release=cppapplication_1 27.24 -CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux-x86/cppapplication_1 27.25 -CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux-x86/package 27.26 -CND_PACKAGE_NAME_Release=cppapplication1.tar 27.27 -CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux-x86/package/cppapplication1.tar 27.28 -# 27.29 -# include compiler specific variables 27.30 -# 27.31 -# dmake command 27.32 -ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \ 27.33 - (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk) 27.34 -# 27.35 -# gmake command 27.36 -.PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)) 27.37 -# 27.38 -include nbproject/private/Makefile-variables.mk
28.1 --- a/CppApplication_1/nbproject/Package-Debug.bash Sun Jan 05 13:43:45 2014 -0800 28.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 28.3 @@ -1,75 +0,0 @@ 28.4 -#!/bin/bash -x 28.5 - 28.6 -# 28.7 -# Generated - do not edit! 28.8 -# 28.9 - 28.10 -# Macros 28.11 -TOP=`pwd` 28.12 -CND_PLATFORM=GNU-Linux-x86 28.13 -CND_CONF=Debug 28.14 -CND_DISTDIR=dist 28.15 -CND_BUILDDIR=build 28.16 -NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging 28.17 -TMPDIRNAME=tmp-packaging 28.18 -OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 28.19 -OUTPUT_BASENAME=cppapplication_1 28.20 -PACKAGE_TOP_DIR=cppapplication1/ 28.21 - 28.22 -# Functions 28.23 -function checkReturnCode 28.24 -{ 28.25 - rc=$? 28.26 - if [ $rc != 0 ] 28.27 - then 28.28 - exit $rc 28.29 - fi 28.30 -} 28.31 -function makeDirectory 28.32 -# $1 directory path 28.33 -# $2 permission (optional) 28.34 -{ 28.35 - mkdir -p "$1" 28.36 - checkReturnCode 28.37 - if [ "$2" != "" ] 28.38 - then 28.39 - chmod $2 "$1" 28.40 - checkReturnCode 28.41 - fi 28.42 -} 28.43 -function copyFileToTmpDir 28.44 -# $1 from-file path 28.45 -# $2 to-file path 28.46 -# $3 permission 28.47 -{ 28.48 - cp "$1" "$2" 28.49 - checkReturnCode 28.50 - if [ "$3" != "" ] 28.51 - then 28.52 - chmod $3 "$2" 28.53 - checkReturnCode 28.54 - fi 28.55 -} 28.56 - 28.57 -# Setup 28.58 -cd "${TOP}" 28.59 -mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package 28.60 -rm -rf ${NBTMPDIR} 28.61 -mkdir -p ${NBTMPDIR} 28.62 - 28.63 -# Copy files and create directories and links 28.64 -cd "${TOP}" 28.65 -makeDirectory "${NBTMPDIR}/cppapplication1/bin" 28.66 -copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 28.67 - 28.68 - 28.69 -# Generate tar file 28.70 -cd "${TOP}" 28.71 -rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar 28.72 -cd ${NBTMPDIR} 28.73 -tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar * 28.74 -checkReturnCode 28.75 - 28.76 -# Cleanup 28.77 -cd "${TOP}" 28.78 -rm -rf ${NBTMPDIR}
29.1 --- a/CppApplication_1/nbproject/Package-Release.bash Sun Jan 05 13:43:45 2014 -0800 29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 29.3 @@ -1,75 +0,0 @@ 29.4 -#!/bin/bash -x 29.5 - 29.6 -# 29.7 -# Generated - do not edit! 29.8 -# 29.9 - 29.10 -# Macros 29.11 -TOP=`pwd` 29.12 -CND_PLATFORM=GNU-Linux-x86 29.13 -CND_CONF=Release 29.14 -CND_DISTDIR=dist 29.15 -CND_BUILDDIR=build 29.16 -NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging 29.17 -TMPDIRNAME=tmp-packaging 29.18 -OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_1 29.19 -OUTPUT_BASENAME=cppapplication_1 29.20 -PACKAGE_TOP_DIR=cppapplication1/ 29.21 - 29.22 -# Functions 29.23 -function checkReturnCode 29.24 -{ 29.25 - rc=$? 29.26 - if [ $rc != 0 ] 29.27 - then 29.28 - exit $rc 29.29 - fi 29.30 -} 29.31 -function makeDirectory 29.32 -# $1 directory path 29.33 -# $2 permission (optional) 29.34 -{ 29.35 - mkdir -p "$1" 29.36 - checkReturnCode 29.37 - if [ "$2" != "" ] 29.38 - then 29.39 - chmod $2 "$1" 29.40 - checkReturnCode 29.41 - fi 29.42 -} 29.43 -function copyFileToTmpDir 29.44 -# $1 from-file path 29.45 -# $2 to-file path 29.46 -# $3 permission 29.47 -{ 29.48 - cp "$1" "$2" 29.49 - checkReturnCode 29.50 - if [ "$3" != "" ] 29.51 - then 29.52 - chmod $3 "$2" 29.53 - checkReturnCode 29.54 - fi 29.55 -} 29.56 - 29.57 -# Setup 29.58 -cd "${TOP}" 29.59 -mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package 29.60 -rm -rf ${NBTMPDIR} 29.61 -mkdir -p ${NBTMPDIR} 29.62 - 29.63 -# Copy files and create directories and links 29.64 -cd "${TOP}" 29.65 -makeDirectory "${NBTMPDIR}/cppapplication1/bin" 29.66 -copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 29.67 - 29.68 - 29.69 -# Generate tar file 29.70 -cd "${TOP}" 29.71 -rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar 29.72 -cd ${NBTMPDIR} 29.73 -tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication1.tar * 29.74 -checkReturnCode 29.75 - 29.76 -# Cleanup 29.77 -cd "${TOP}" 29.78 -rm -rf ${NBTMPDIR}
30.1 --- a/CppApplication_1/nbproject/configurations.xml Sun Jan 05 13:43:45 2014 -0800 30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 30.3 @@ -1,80 +0,0 @@ 30.4 -<?xml version="1.0" encoding="UTF-8"?> 30.5 -<configurationDescriptor version="79"> 30.6 - <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT"> 30.7 - <logicalFolder name="HeaderFiles" 30.8 - displayName="Header Files" 30.9 - projectFiles="true"> 30.10 - </logicalFolder> 30.11 - <logicalFolder name="ResourceFiles" 30.12 - displayName="Resource Files" 30.13 - projectFiles="true"> 30.14 - </logicalFolder> 30.15 - <logicalFolder name="SourceFiles" 30.16 - displayName="Source Files" 30.17 - projectFiles="true"> 30.18 - <itemPath>first.cpp</itemPath> 30.19 - </logicalFolder> 30.20 - <logicalFolder name="TestFiles" 30.21 - displayName="Test Files" 30.22 - projectFiles="false" 30.23 - kind="TEST_LOGICAL_FOLDER"> 30.24 - </logicalFolder> 30.25 - <logicalFolder name="ExternalFiles" 30.26 - displayName="Important Files" 30.27 - projectFiles="false" 30.28 - kind="IMPORTANT_FILES_FOLDER"> 30.29 - <itemPath>Makefile</itemPath> 30.30 - </logicalFolder> 30.31 - </logicalFolder> 30.32 - <projectmakefile>Makefile</projectmakefile> 30.33 - <confs> 30.34 - <conf name="Debug" type="1"> 30.35 - <toolsSet> 30.36 - <remote-sources-mode>LOCAL_SOURCES</remote-sources-mode> 30.37 - <compilerSet>default</compilerSet> 30.38 - </toolsSet> 30.39 - <compileType> 30.40 - <cTool> 30.41 - <incDir> 30.42 - <pElem>/usr/local/include/js</pElem> 30.43 - </incDir> 30.44 - </cTool> 30.45 - <ccTool> 30.46 - <incDir> 30.47 - <pElem>/usr/local/include/js</pElem> 30.48 - </incDir> 30.49 - </ccTool> 30.50 - <linkerTool> 30.51 - <linkerAddLib> 30.52 - <pElem>/usr/local/lib</pElem> 30.53 - </linkerAddLib> 30.54 - <linkerLibItems> 30.55 - <linkerLibLibItem>mozjs185-1.0</linkerLibLibItem> 30.56 - <linkerLibLibItem>mozjs185</linkerLibLibItem> 30.57 - <linkerLibLibItem>pthread</linkerLibLibItem> 30.58 - </linkerLibItems> 30.59 - </linkerTool> 30.60 - </compileType> 30.61 - </conf> 30.62 - <conf name="Release" type="1"> 30.63 - <toolsSet> 30.64 - <remote-sources-mode>LOCAL_SOURCES</remote-sources-mode> 30.65 - <compilerSet>default</compilerSet> 30.66 - </toolsSet> 30.67 - <compileType> 30.68 - <cTool> 30.69 - <developmentMode>5</developmentMode> 30.70 - </cTool> 30.71 - <ccTool> 30.72 - <developmentMode>5</developmentMode> 30.73 - </ccTool> 30.74 - <fortranCompilerTool> 30.75 - <developmentMode>5</developmentMode> 30.76 - </fortranCompilerTool> 30.77 - <asmTool> 30.78 - <developmentMode>5</developmentMode> 30.79 - </asmTool> 30.80 - </compileType> 30.81 - </conf> 30.82 - </confs> 30.83 -</configurationDescriptor>
31.1 --- a/CppApplication_1/nbproject/private/Makefile-variables.mk Sun Jan 05 13:43:45 2014 -0800 31.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 31.3 @@ -1,7 +0,0 @@ 31.4 -# 31.5 -# Generated - do not edit! 31.6 -# 31.7 -# NOCDDL 31.8 -# 31.9 -# Debug configuration 31.10 -# Release configuration
32.1 --- a/CppApplication_1/nbproject/private/configurations.xml Sun Jan 05 13:43:45 2014 -0800 32.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 32.3 @@ -1,77 +0,0 @@ 32.4 -<?xml version="1.0" encoding="UTF-8"?> 32.5 -<configurationDescriptor version="79"> 32.6 - <projectmakefile>Makefile</projectmakefile> 32.7 - <confs> 32.8 - <conf name="Debug" type="1"> 32.9 - <toolsSet> 32.10 - <developmentServer>localhost</developmentServer> 32.11 - <platform>2</platform> 32.12 - </toolsSet> 32.13 - <dbx_gdbdebugger version="1"> 32.14 - <gdb_pathmaps> 32.15 - </gdb_pathmaps> 32.16 - <gdb_interceptlist> 32.17 - <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/> 32.18 - </gdb_interceptlist> 32.19 - <gdb_options> 32.20 - <DebugOptions> 32.21 - </DebugOptions> 32.22 - </gdb_options> 32.23 - <gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/> 32.24 - </dbx_gdbdebugger> 32.25 - <gizmo_options version="3"> 32.26 - <configurationname>GizmoSimple</configurationname> 32.27 - </gizmo_options> 32.28 - <nativedebugger version="1"> 32.29 - <engine>gdb</engine> 32.30 - </nativedebugger> 32.31 - <runprofile version="9"> 32.32 - <runcommandpicklist> 32.33 - <runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem> 32.34 - </runcommandpicklist> 32.35 - <runcommand>"${OUTPUT_PATH}"</runcommand> 32.36 - <rundir></rundir> 32.37 - <buildfirst>true</buildfirst> 32.38 - <terminal-type>0</terminal-type> 32.39 - <remove-instrumentation>0</remove-instrumentation> 32.40 - <environment> 32.41 - </environment> 32.42 - </runprofile> 32.43 - </conf> 32.44 - <conf name="Release" type="1"> 32.45 - <toolsSet> 32.46 - <developmentServer>localhost</developmentServer> 32.47 - <platform>2</platform> 32.48 - </toolsSet> 32.49 - <dbx_gdbdebugger version="1"> 32.50 - <gdb_pathmaps> 32.51 - </gdb_pathmaps> 32.52 - <gdb_interceptlist> 32.53 - <gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/> 32.54 - </gdb_interceptlist> 32.55 - <gdb_options> 32.56 - <DebugOptions> 32.57 - </DebugOptions> 32.58 - </gdb_options> 32.59 - <gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/> 32.60 - </dbx_gdbdebugger> 32.61 - <gizmo_options version="3"> 32.62 - </gizmo_options> 32.63 - <nativedebugger version="1"> 32.64 - <engine>gdb</engine> 32.65 - </nativedebugger> 32.66 - <runprofile version="9"> 32.67 - <runcommandpicklist> 32.68 - <runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem> 32.69 - </runcommandpicklist> 32.70 - <runcommand>"${OUTPUT_PATH}"</runcommand> 32.71 - <rundir></rundir> 32.72 - <buildfirst>true</buildfirst> 32.73 - <terminal-type>0</terminal-type> 32.74 - <remove-instrumentation>0</remove-instrumentation> 32.75 - <environment> 32.76 - </environment> 32.77 - </runprofile> 32.78 - </conf> 32.79 - </confs> 32.80 -</configurationDescriptor>
33.1 --- a/CppApplication_1/nbproject/private/private.xml Sun Jan 05 13:43:45 2014 -0800 33.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 33.3 @@ -1,8 +0,0 @@ 33.4 -<?xml version="1.0" encoding="UTF-8"?> 33.5 -<project-private xmlns="http://www.netbeans.org/ns/project-private/1"> 33.6 - <data xmlns="http://www.netbeans.org/ns/make-project-private/1"> 33.7 - <activeConfTypeElem>1</activeConfTypeElem> 33.8 - <activeConfIndexElem>0</activeConfIndexElem> 33.9 - </data> 33.10 - <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/> 33.11 -</project-private>
34.1 --- a/CppApplication_1/nbproject/project.xml Sun Jan 05 13:43:45 2014 -0800 34.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 34.3 @@ -1,25 +0,0 @@ 34.4 -<?xml version="1.0" encoding="UTF-8"?> 34.5 -<project xmlns="http://www.netbeans.org/ns/project/1"> 34.6 - <type>org.netbeans.modules.cnd.makeproject</type> 34.7 - <configuration> 34.8 - <data xmlns="http://www.netbeans.org/ns/make-project/1"> 34.9 - <name>CppApplication_1</name> 34.10 - <c-extensions/> 34.11 - <cpp-extensions>cpp</cpp-extensions> 34.12 - <header-extensions/> 34.13 - <sourceEncoding>UTF-8</sourceEncoding> 34.14 - <make-dep-projects/> 34.15 - <sourceRootList/> 34.16 - <confList> 34.17 - <confElem> 34.18 - <name>Debug</name> 34.19 - <type>1</type> 34.20 - </confElem> 34.21 - <confElem> 34.22 - <name>Release</name> 34.23 - <type>1</type> 34.24 - </confElem> 34.25 - </confList> 34.26 - </data> 34.27 - </configuration> 34.28 -</project>
