mirror of https://github.com/axmolengine/axmol.git
Merge branch 'develop' into develop_nutty_modify_framework_ModifyLabelClassName
This commit is contained in:
commit
e825d255bd
|
@ -284,4 +284,19 @@ add_subdirectory(cocos/scripting)
|
|||
endif(BUILD_LIBS_LUA)
|
||||
|
||||
# build samples
|
||||
add_subdirectory(samples)
|
||||
if(BUILD_HelloCpp)
|
||||
add_subdirectory(samples/Cpp/HelloCpp)
|
||||
endif(BUILD_HelloCpp)
|
||||
|
||||
if(BUILD_TestCpp)
|
||||
add_subdirectory(samples/Cpp/TestCpp)
|
||||
endif(BUILD_TestCpp)
|
||||
|
||||
if(BUILD_HelloLua)
|
||||
add_subdirectory(samples/Lua/HelloLua)
|
||||
endif(BUILD_HelloLua)
|
||||
|
||||
if(BUILD_TestLua)
|
||||
add_subdirectory(samples/Lua/TestLua)
|
||||
endif(BUILD_TestLua)
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ How to start a new game
|
|||
Example:
|
||||
|
||||
$ cd cocos2d-x/tools/project-creator
|
||||
$ ./create-multi-platform-projects.py -p mygame -k com.your_company.mygame -l cpp
|
||||
$ cd ../../projects/mygame
|
||||
$ ./project-creator.pyw -n mygame -k com.your_company.mygame -l cpp -p /home/mygame
|
||||
$ cd /home/mygame
|
||||
|
||||
|
||||
Main features
|
||||
|
|
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
|
|||
set(APP_NAME HelloCpp)
|
||||
project (${APP_NAME})
|
||||
|
||||
include(../../build/BuildHelpers.CMakeLists.txt)
|
||||
include(cocos2d/build/BuildHelpers.CMakeLists.txt)
|
||||
|
||||
option(USE_CHIPMUNK "Use chipmunk for physics library" ON)
|
||||
option(USE_BOX2D "Use box2d for physics library" OFF)
|
||||
|
@ -45,7 +45,7 @@ set(GAME_SRC
|
|||
Classes/HelloWorldScene.cpp
|
||||
)
|
||||
|
||||
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/../..)
|
||||
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d)
|
||||
|
||||
include_directories(
|
||||
${COCOS2D_ROOT}
|
||||
|
|
|
@ -113,7 +113,7 @@ def build(ndk_build_param,android_platform,build_mode):
|
|||
select_toolchain_version()
|
||||
|
||||
current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
cocos_root = os.path.join(current_dir, "../../..")
|
||||
cocos_root = os.path.join(current_dir, "../cocos2d")
|
||||
|
||||
app_android_root = current_dir
|
||||
copy_resources(app_android_root)
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
# Project target.
|
||||
target=android-10
|
||||
|
||||
android.library.reference.1=../../../cocos/2d/platform/android/java
|
||||
android.library.reference.1=../cocos2d/cocos/2d/platform/android/java
|
||||
|
|
|
@ -243,7 +243,7 @@
|
|||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
||||
1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
||||
1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
|
||||
1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = "<group>"; };
|
||||
1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = "<group>"; };
|
||||
|
@ -820,8 +820,8 @@
|
|||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios/Simulation",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation",
|
||||
);
|
||||
INFOPLIST_FILE = ios/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
|
@ -849,8 +849,8 @@
|
|||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios/Simulation",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation",
|
||||
);
|
||||
INFOPLIST_FILE = ios/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
|
@ -881,8 +881,8 @@
|
|||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../../../external/glfw3/include/mac",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../cocos2d/external/glfw3/include/mac",
|
||||
);
|
||||
INFOPLIST_FILE = mac/Info.plist;
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
|
@ -908,8 +908,8 @@
|
|||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../../../external/glfw3/include/mac",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../cocos2d/external/glfw3/include/mac",
|
||||
);
|
||||
INFOPLIST_FILE = mac/Info.plist;
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
|
@ -927,19 +927,19 @@
|
|||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(SRCROOT)/../../..",
|
||||
"$(SRCROOT)/../../../cocos",
|
||||
"$(SRCROOT)/../../../cocos/base",
|
||||
"$(SRCROOT)/../../../cocos/physics",
|
||||
"$(SRCROOT)/../../../cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../../../cocos/2d",
|
||||
"$(SRCROOT)/../../../cocos/gui",
|
||||
"$(SRCROOT)/../../../cocos/network",
|
||||
"$(SRCROOT)/../../../cocos/audio/include",
|
||||
"$(SRCROOT)/../../../cocos/editor-support",
|
||||
"$(SRCROOT)/../../../extensions",
|
||||
"$(SRCROOT)/../../../external",
|
||||
"$(SRCROOT)/../../../external/chipmunk/include/chipmunk",
|
||||
"$(SRCROOT)/../cocos2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos",
|
||||
"$(SRCROOT)/../cocos2d/cocos/base",
|
||||
"$(SRCROOT)/../cocos2d/cocos/physics",
|
||||
"$(SRCROOT)/../cocos2d/cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos/gui",
|
||||
"$(SRCROOT)/../cocos2d/cocos/network",
|
||||
"$(SRCROOT)/../cocos2d/cocos/audio/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/editor-support",
|
||||
"$(SRCROOT)/../cocos2d/extensions",
|
||||
"$(SRCROOT)/../cocos2d/external",
|
||||
"$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
|
@ -955,19 +955,19 @@
|
|||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(SRCROOT)/../../..",
|
||||
"$(SRCROOT)/../../../cocos",
|
||||
"$(SRCROOT)/../../../cocos/base",
|
||||
"$(SRCROOT)/../../../cocos/physics",
|
||||
"$(SRCROOT)/../../../cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../../../cocos/2d",
|
||||
"$(SRCROOT)/../../../cocos/gui",
|
||||
"$(SRCROOT)/../../../cocos/network",
|
||||
"$(SRCROOT)/../../../cocos/audio/include",
|
||||
"$(SRCROOT)/../../../cocos/editor-support",
|
||||
"$(SRCROOT)/../../../extensions",
|
||||
"$(SRCROOT)/../../../external",
|
||||
"$(SRCROOT)/../../../external/chipmunk/include/chipmunk",
|
||||
"$(SRCROOT)/../cocos2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos",
|
||||
"$(SRCROOT)/../cocos2d/cocos/base",
|
||||
"$(SRCROOT)/../cocos2d/cocos/physics",
|
||||
"$(SRCROOT)/../cocos2d/cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos/gui",
|
||||
"$(SRCROOT)/../cocos2d/cocos/network",
|
||||
"$(SRCROOT)/../cocos2d/cocos/audio/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/editor-support",
|
||||
"$(SRCROOT)/../cocos2d/extensions",
|
||||
"$(SRCROOT)/../cocos2d/external",
|
||||
"$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk",
|
||||
);
|
||||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
|
|
|
@ -1,422 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.699705174">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.699705174" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.config.gnu.exe.debug.699705174" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="" prebuildStep="mkdir -p bin">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.699705174." name="/" resourcePath="">
|
||||
<toolChain errorParsers="" id="cdt.managedbuild.toolchain.gnu.exe.debug.841204785" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
|
||||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.exe.debug.1771431107" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/HelloCpp/Debug}" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.target.gnu.builder.exe.debug.692013632" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug">
|
||||
<outputEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Debug"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release"/>
|
||||
</outputEntries>
|
||||
</builder>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.archiver.base.823571804" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool command="g++" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.405614352" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.248343481" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.634257735" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.1707443626" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external"/>
|
||||
<listOptionValue builtIn="false" value="../../../../extensions"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/include/chipmunk"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.331369055" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.2029444877" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool command="gcc" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.2041247495" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.1013157776" name="Optimization Level" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.debug.option.debugging.level.216261172" name="Debug Level" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.1705967553" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths"/>
|
||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.305684306" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1712401455" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.1840922427" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
|
||||
<tool command="g++" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,../../../CocosDenshion/third_party/fmod/api/lib" errorParsers="org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.163089056" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
|
||||
<option id="gnu.cpp.link.option.libs.1882458104" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="fmodex"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="curl"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.335055881" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/api/lib"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.userobjs.1021852674" name="Other objects" superClass="gnu.cpp.link.option.userobjs" valueType="userObjs">
|
||||
<listOptionValue builtIn="false" value=""../../../../extensions/proj.linux/${ConfigName}/libextension.a""/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/proj.linux/${ConfigName}/libchipmunk.a"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/Box2D/proj.linux/${ConfigName}/libBox2D.a"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.280033790" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool command="as" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.exe.debug.844668943" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug">
|
||||
<option id="gnu.both.asm.option.include.paths.1555644609" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1269039546" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="extensions|Classes" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Classes"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="extensions"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.1345370861">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.1345370861" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.config.gnu.exe.release.1345370861" name="Release" parent="cdt.managedbuild.config.gnu.exe.release" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="" prebuildStep="mkdir -p bin">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.release.1345370861." name="/" resourcePath="">
|
||||
<toolChain errorParsers="" id="cdt.managedbuild.toolchain.gnu.exe.release.1781668977" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.1261363662" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/HelloCpp/Release}" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.target.gnu.builder.exe.release.1313719141" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.archiver.base.184236871" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1754241599" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
|
||||
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.2145723523" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.452676886" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.219173285" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external"/>
|
||||
<listOptionValue builtIn="false" value="../../../../extensions"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/include/chipmunk"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/include"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.2022262883" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1960450905" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1494845250" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1213583313" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" value="gnu.c.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.release.option.debugging.level.222853384" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.1626903439" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths"/>
|
||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.794705780" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.558791653" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1799998206" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,../../../CocosDenshion/third_party/fmod/api/lib" errorParsers="org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1783987767" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
|
||||
<option id="gnu.cpp.link.option.libs.1581059715" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="fmodex"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="curl"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.2032137429" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/api/lib"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.userobjs.1558283777" name="Other objects" superClass="gnu.cpp.link.option.userobjs" valueType="userObjs">
|
||||
<listOptionValue builtIn="false" value=""../../../../extensions/proj.linux/${ConfigName}/libextension.a""/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/proj.linux/${ConfigName}/libchipmunk.a"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/Box2D/proj.linux/${ConfigName}/libBox2D.a"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1573978538" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.exe.release.807780287" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
|
||||
<option id="gnu.both.asm.option.include.paths.1020319723" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.92136121" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="Classes" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Classes"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.699705174.209325129">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.699705174.209325129" moduleId="org.eclipse.cdt.core.settings" name="Debug64">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.config.gnu.exe.debug.699705174.209325129" name="Debug64" parent="cdt.managedbuild.config.gnu.exe.debug" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="" prebuildStep="mkdir -p bin">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.699705174.209325129." name="/" resourcePath="">
|
||||
<toolChain errorParsers="" id="cdt.managedbuild.toolchain.gnu.exe.debug.487201197" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
|
||||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.exe.debug.844135706" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/HelloCpp/Debug}" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.target.gnu.builder.exe.debug.485437818" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug">
|
||||
<outputEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Debug"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release"/>
|
||||
</outputEntries>
|
||||
</builder>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.archiver.base.144612393" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool command="g++" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1785395288" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.1866381090" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.185497944" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.1407722055" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external"/>
|
||||
<listOptionValue builtIn="false" value="../../../../extensions"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux/include64"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/include/chipmunk"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.1397402419" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1880061794" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool command="gcc" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.219380601" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.493787467" name="Optimization Level" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.debug.option.debugging.level.1055645821" name="Debug Level" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.389614171" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths"/>
|
||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.985816570" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.806213730" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.1349694383" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
|
||||
<tool command="g++" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,../../../CocosDenshion/third_party/fmod/lib64/api/lib" errorParsers="org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.940220230" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
|
||||
<option id="gnu.cpp.link.option.libs.1907501762" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="fmodex64"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="curl"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.150149413" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/lib64/api/lib"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.userobjs.300798233" name="Other objects" superClass="gnu.cpp.link.option.userobjs" valueType="userObjs">
|
||||
<listOptionValue builtIn="false" value=""../../../../extensions/proj.linux/${ConfigName}/libextension.a""/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/proj.linux/${ConfigName}/libchipmunk.a"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/Box2D/proj.linux/${ConfigName}/libBox2D.a"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.2085515512" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool command="as" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.exe.debug.897361146" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug">
|
||||
<option id="gnu.both.asm.option.include.paths.1835372864" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.575940461" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="extensions|Classes" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Classes"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="extensions"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578" moduleId="org.eclipse.cdt.core.settings" name="Release64">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578" name="Release64" parent="cdt.managedbuild.config.gnu.exe.release" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="" prebuildStep="mkdir -p bin">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578." name="/" resourcePath="">
|
||||
<toolChain errorParsers="" id="cdt.managedbuild.toolchain.gnu.exe.release.577709172" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.125385625" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/HelloCpp/Release}" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.target.gnu.builder.exe.release.621332234" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.archiver.base.874569349" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1302416020" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
|
||||
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.1818703376" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.337012577" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.1687973966" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external"/>
|
||||
<listOptionValue builtIn="false" value="../../../../extensions"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux/include64"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/include/chipmunk"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.2031321093" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.716751530" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1869052171" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.510069750" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" value="gnu.c.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.release.option.debugging.level.334858869" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.2144275928" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths"/>
|
||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.103771537" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1196514567" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../CocosDenshion/third_party/fmod/api/lib" id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1613941884" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,../../../CocosDenshion/third_party/fmod/lib64/api/lib" errorParsers="org.eclipse.cdt.core.GLDErrorParser" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.174804381" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
|
||||
<option id="gnu.cpp.link.option.libs.1843271674" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="fmodex64"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="curl"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.565843462" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/proj.linux/${ConfigName}"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/lib64/api/lib"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.userobjs.521099390" name="Other objects" superClass="gnu.cpp.link.option.userobjs" valueType="userObjs">
|
||||
<listOptionValue builtIn="false" value=""../../../../extensions/proj.linux/${ConfigName}/libextension.a""/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/chipmunk/proj.linux/${ConfigName}/libchipmunk.a"/>
|
||||
<listOptionValue builtIn="false" value="../../../../external/Box2D/proj.linux/${ConfigName}/libBox2D.a"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1681032616" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.exe.release.1421749480" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
|
||||
<option id="gnu.both.asm.option.include.paths.1984781069" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.605094815" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="Classes" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Classes"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="HelloCpp.cdt.managedbuild.target.gnu.exe.944553697" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Release">
|
||||
<resource resourceType="PROJECT" workspacePath="/HelloCpp"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Debug64">
|
||||
<resource resourceType="PROJECT" workspacePath="/HelloCpp"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Release64"/>
|
||||
<configuration configurationName="Debug">
|
||||
<resource resourceType="PROJECT" workspacePath="/HelloCpp"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578;cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1302416020;cdt.managedbuild.tool.gnu.cpp.compiler.input.716751530">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1345370861;cdt.managedbuild.config.gnu.exe.release.1345370861.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1494845250;cdt.managedbuild.tool.gnu.c.compiler.input.558791653">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.699705174;cdt.managedbuild.config.gnu.exe.debug.699705174.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.2041247495;cdt.managedbuild.tool.gnu.c.compiler.input.1712401455">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578;cdt.managedbuild.config.gnu.exe.release.1345370861.1992170578.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1869052171;cdt.managedbuild.tool.gnu.c.compiler.input.1196514567">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.699705174;cdt.managedbuild.config.gnu.exe.debug.699705174.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.405614352;cdt.managedbuild.tool.gnu.cpp.compiler.input.2029444877">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.699705174.209325129;cdt.managedbuild.config.gnu.exe.debug.699705174.209325129.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.219380601;cdt.managedbuild.tool.gnu.c.compiler.input.806213730">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1345370861;cdt.managedbuild.config.gnu.exe.release.1345370861.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1754241599;cdt.managedbuild.tool.gnu.cpp.compiler.input.1960450905">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.699705174.209325129;cdt.managedbuild.config.gnu.exe.debug.699705174.209325129.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1785395288;cdt.managedbuild.tool.gnu.cpp.compiler.input.1880061794">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
</cproject>
|
|
@ -1,110 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>HelloCpp</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>libBox2D</project>
|
||||
<project>libChipmunk</project>
|
||||
<project>libcocos2d</project>
|
||||
<project>libCocosDenshion</project>
|
||||
<project>libextension</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
<dictionary>
|
||||
<key>?children?</key>
|
||||
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|?name?=entry\\\\\\\|\\\|\||</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>?name?</key>
|
||||
<value></value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.append_environment</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
|
||||
<value>all</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildArguments</key>
|
||||
<value></value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildCommand</key>
|
||||
<value>make</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildLocation</key>
|
||||
<value>${workspace_loc:/HelloCpp/Debug}</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
|
||||
<value>clean</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.contents</key>
|
||||
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
||||
<value>false</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
|
||||
<value>all</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.stopOnError</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>Classes</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-1-PROJECT_LOC/Classes</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1345106176896</id>
|
||||
<name>Classes/ExtensionsTest</name>
|
||||
<type>10</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
||||
<arguments>1.0-name-matches-true-false-EditBoxTest</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
|
@ -1,25 +0,0 @@
|
|||
EXECUTABLE = HelloCpp
|
||||
|
||||
INCLUDES = -I.. -I../Classes
|
||||
|
||||
SOURCES = main.cpp \
|
||||
../Classes/AppDelegate.cpp \
|
||||
../Classes/HelloWorldScene.cpp
|
||||
|
||||
COCOS_ROOT = ../../..
|
||||
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
||||
|
||||
SHAREDLIBS += -lcocos2d
|
||||
COCOS_LIBS = $(LIB_DIR)/libcocos2d.so
|
||||
|
||||
$(TARGET): $(OBJECTS) $(STATICLIBS) $(COCOS_LIBS) $(CORE_MAKEFILE_LIST)
|
||||
@mkdir -p $(@D)
|
||||
$(LOG_LINK)$(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(SHAREDLIBS) $(STATICLIBS)
|
||||
|
||||
$(OBJ_DIR)/%.o: %.cpp $(CORE_MAKEFILE_LIST)
|
||||
@mkdir -p $(@D)
|
||||
$(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@
|
||||
|
||||
$(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST)
|
||||
@mkdir -p $(@D)
|
||||
$(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@
|
|
@ -1,59 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
TXTCOLOR_DEFAULT="\033[0;m"
|
||||
TXTCOLOR_RED="\033[0;31m"
|
||||
TXTCOLOR_GREEN="\033[0;32m"
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
COCOS2DX20_TRUNK=`pwd`/../../..
|
||||
OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/debug/
|
||||
OUTPUT_RELEASE=$COCOS2DX20_TRUNK/lib/linux/release/
|
||||
rm -rf ../bin
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
check_make_result()
|
||||
{
|
||||
if [ 0 != $? ]; then
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
#make global libs
|
||||
cd ../cocos2d
|
||||
#install depend libs
|
||||
sudo ./build/install-deps-linux.sh
|
||||
mkdir -p linux-build
|
||||
cd linux-build
|
||||
cmake .. -DBUILD_LIBS_LUA=OFF -DBUILD_HelloCpp=OFF -DBUILD_TestCpp=OFF -DBUILD_HelloLua=OFF -DBUILD_TestLua=OFF
|
||||
make -j4
|
||||
|
||||
DEPENDS='libx11-dev'
|
||||
DEPENDS+=' libxmu-dev'
|
||||
DEPENDS+=' libglu1-mesa-dev'
|
||||
DEPENDS+=' libgl2ps-dev'
|
||||
DEPENDS+=' libxi-dev'
|
||||
DEPENDS+=' libglfw-dev'
|
||||
DEPENDS+=' g++'
|
||||
DEPENDS+=' libzip-dev'
|
||||
DEPENDS+=' libcurl4-gnutls-dev'
|
||||
DEPENDS+=' libfontconfig1-dev'
|
||||
DEPENDS+=' libsqlite3-dev'
|
||||
DEPENDS+=' libglew-dev'
|
||||
|
||||
for i in $DEPENDS; do
|
||||
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $i | grep "install ok installed")
|
||||
echo Checking for $i: $PKG_OK
|
||||
if [ "" == "$PKG_OK" ]; then
|
||||
echo -e $TXTCOLOR_GREEN"No $i. Setting up $i, please enter your password:"$TXTCOLOR_DEFAULT
|
||||
sudo apt-get --force-yes --yes install $i
|
||||
fi
|
||||
done
|
||||
|
||||
mkdir -p $OUTPUT_DEBUG
|
||||
mkdir -p $OUTPUT_RELEASE
|
||||
|
||||
make -C $COCOS2DX20_TRUNK/external/Box2D/proj.linux DEBUG=1
|
||||
check_make_result
|
||||
|
||||
make -C $COCOS2DX20_TRUNK/external/chipmunk/proj.linux DEBUG=1
|
||||
check_make_result
|
||||
|
||||
make -C $COCOS2DX20_TRUNK/cocos2dx/proj.linux DEBUG=1
|
||||
check_make_result
|
||||
|
||||
make -C $COCOS2DX20_TRUNK/CocosDenshion/proj.linux DEBUG=1
|
||||
check_make_result
|
||||
|
||||
make -C $COCOS2DX20_TRUNK/extensions/proj.linux DEBUG=1
|
||||
check_make_result
|
||||
|
||||
make DEBUG=1
|
||||
check_make_result
|
||||
#make bin
|
||||
cd $DIR
|
||||
rm -rf bin
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ../..
|
||||
make -j4
|
||||
cd ..
|
||||
mv ../bin bin
|
||||
|
|
|
@ -8,11 +8,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloCpp", "HelloCpp.vcxpro
|
|||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\..\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\..\..\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -36,13 +36,13 @@
|
|||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2d_headers.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2d_headers.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
|
@ -143,14 +143,14 @@ xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</C
|
|||
<ClInclude Include="main.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\cocos\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\2d\cocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -107,7 +107,7 @@ def copy_resources(app_android_root):
|
|||
copy_files(resources_dir, assets_dir)
|
||||
|
||||
# jsb project should copy javascript files and resources(shared with cocos2d-html5)
|
||||
resources_dir = os.path.join(app_android_root, "../../../cocos/scripting/javascript/script")
|
||||
resources_dir = os.path.join(app_android_root, "../cocos2d/cocos/scripting/javascript/script")
|
||||
copy_files(resources_dir, assets_dir)
|
||||
|
||||
def build(ndk_build_param,android_platform,build_mode):
|
||||
|
@ -117,7 +117,7 @@ def build(ndk_build_param,android_platform,build_mode):
|
|||
select_toolchain_version()
|
||||
|
||||
current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
cocos_root = os.path.join(current_dir, "../../..")
|
||||
cocos_root = os.path.join(current_dir, "../cocos2d")
|
||||
|
||||
app_android_root = current_dir
|
||||
copy_resources(app_android_root)
|
||||
|
|
|
@ -275,26 +275,26 @@
|
|||
/* Begin PBXFileReference section */
|
||||
15FD5C5F183A60FE005CFF55 /* cocos2d-jsb.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = "cocos2d-jsb.js"; path = "../Resources/cocos2d-jsb.js"; sourceTree = "<group>"; };
|
||||
15FD5C67183A6112005CFF55 /* cocos2d-jsb.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = "cocos2d-jsb.js"; path = "../Resources/cocos2d-jsb.js"; sourceTree = "<group>"; };
|
||||
15FD5C69183A6170005CFF55 /* jsb_cocos2d_gui.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_gui.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d_gui.js; sourceTree = "<group>"; };
|
||||
15FD5C6A183A6170005CFF55 /* jsb_cocos2d_studio.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_studio.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d_studio.js; sourceTree = "<group>"; };
|
||||
15FD5C6D183A6189005CFF55 /* jsb_cocos2d_gui.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_gui.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d_gui.js; sourceTree = "<group>"; };
|
||||
15FD5C6E183A6189005CFF55 /* jsb_cocos2d_studio.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_studio.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d_studio.js; sourceTree = "<group>"; };
|
||||
1A6767ED180E9B160076BC67 /* debugger */ = {isa = PBXFileReference; lastKnownFileType = folder; name = debugger; path = ../../../cocos/scripting/javascript/script/debugger; sourceTree = "<group>"; };
|
||||
1A6767EE180E9B160076BC67 /* jsb_chipmunk_constants.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_chipmunk_constants.js; path = ../../../cocos/scripting/javascript/script/jsb_chipmunk_constants.js; sourceTree = "<group>"; };
|
||||
1A6767EF180E9B160076BC67 /* jsb_chipmunk.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_chipmunk.js; path = ../../../cocos/scripting/javascript/script/jsb_chipmunk.js; sourceTree = "<group>"; };
|
||||
1A6767F0180E9B160076BC67 /* jsb_cocos2d_constants.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_constants.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d_constants.js; sourceTree = "<group>"; };
|
||||
1A6767F1180E9B160076BC67 /* jsb_cocos2d_extension.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_extension.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d_extension.js; sourceTree = "<group>"; };
|
||||
1A6767F2180E9B160076BC67 /* jsb_cocos2d.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d.js; path = ../../../cocos/scripting/javascript/script/jsb_cocos2d.js; sourceTree = "<group>"; };
|
||||
1A6767F3180E9B160076BC67 /* jsb_cocosbuilder.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocosbuilder.js; path = ../../../cocos/scripting/javascript/script/jsb_cocosbuilder.js; sourceTree = "<group>"; };
|
||||
1A6767F4180E9B160076BC67 /* jsb_debugger.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_debugger.js; path = ../../../cocos/scripting/javascript/script/jsb_debugger.js; sourceTree = "<group>"; };
|
||||
1A6767F5180E9B160076BC67 /* jsb_deprecated.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_deprecated.js; path = ../../../cocos/scripting/javascript/script/jsb_deprecated.js; sourceTree = "<group>"; };
|
||||
1A6767F6180E9B160076BC67 /* jsb_opengl_constants.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_opengl_constants.js; path = ../../../cocos/scripting/javascript/script/jsb_opengl_constants.js; sourceTree = "<group>"; };
|
||||
1A6767F7180E9B160076BC67 /* jsb_opengl.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_opengl.js; path = ../../../cocos/scripting/javascript/script/jsb_opengl.js; sourceTree = "<group>"; };
|
||||
1A6767F8180E9B160076BC67 /* jsb_sys.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_sys.js; path = ../../../cocos/scripting/javascript/script/jsb_sys.js; sourceTree = "<group>"; };
|
||||
1A6767F9180E9B160076BC67 /* jsb.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb.js; path = ../../../cocos/scripting/javascript/script/jsb.js; sourceTree = "<group>"; };
|
||||
15FD5C69183A6170005CFF55 /* jsb_cocos2d_gui.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_gui.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d_gui.js; sourceTree = "<group>"; };
|
||||
15FD5C6A183A6170005CFF55 /* jsb_cocos2d_studio.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_studio.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d_studio.js; sourceTree = "<group>"; };
|
||||
15FD5C6D183A6189005CFF55 /* jsb_cocos2d_gui.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_gui.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d_gui.js; sourceTree = "<group>"; };
|
||||
15FD5C6E183A6189005CFF55 /* jsb_cocos2d_studio.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_studio.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d_studio.js; sourceTree = "<group>"; };
|
||||
1A6767ED180E9B160076BC67 /* debugger */ = {isa = PBXFileReference; lastKnownFileType = folder; name = debugger; path = ../cocos2d/cocos/scripting/javascript/script/debugger; sourceTree = "<group>"; };
|
||||
1A6767EE180E9B160076BC67 /* jsb_chipmunk_constants.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_chipmunk_constants.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_chipmunk_constants.js; sourceTree = "<group>"; };
|
||||
1A6767EF180E9B160076BC67 /* jsb_chipmunk.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_chipmunk.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_chipmunk.js; sourceTree = "<group>"; };
|
||||
1A6767F0180E9B160076BC67 /* jsb_cocos2d_constants.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_constants.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d_constants.js; sourceTree = "<group>"; };
|
||||
1A6767F1180E9B160076BC67 /* jsb_cocos2d_extension.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d_extension.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d_extension.js; sourceTree = "<group>"; };
|
||||
1A6767F2180E9B160076BC67 /* jsb_cocos2d.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocos2d.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocos2d.js; sourceTree = "<group>"; };
|
||||
1A6767F3180E9B160076BC67 /* jsb_cocosbuilder.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_cocosbuilder.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_cocosbuilder.js; sourceTree = "<group>"; };
|
||||
1A6767F4180E9B160076BC67 /* jsb_debugger.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_debugger.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_debugger.js; sourceTree = "<group>"; };
|
||||
1A6767F5180E9B160076BC67 /* jsb_deprecated.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_deprecated.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_deprecated.js; sourceTree = "<group>"; };
|
||||
1A6767F6180E9B160076BC67 /* jsb_opengl_constants.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_opengl_constants.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_opengl_constants.js; sourceTree = "<group>"; };
|
||||
1A6767F7180E9B160076BC67 /* jsb_opengl.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_opengl.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_opengl.js; sourceTree = "<group>"; };
|
||||
1A6767F8180E9B160076BC67 /* jsb_sys.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb_sys.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb_sys.js; sourceTree = "<group>"; };
|
||||
1A6767F9180E9B160076BC67 /* jsb.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = jsb.js; path = ../cocos2d/cocos/scripting/javascript/script/jsb.js; sourceTree = "<group>"; };
|
||||
1A82F5FA169AC92500C4B13A /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = usr/lib/libsqlite3.dylib; sourceTree = SDKROOT; };
|
||||
1A96A4F2174A3432008653A9 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
|
||||
1AC6FB34180E9ACB004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
||||
1A96A4F2174A3432008653A9 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../cocos2d/cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
|
||||
1AC6FB34180E9ACB004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
||||
1AE4B40016D1FECD003C6D1C /* main.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = main.js; path = ../Resources/main.js; sourceTree = "<group>"; };
|
||||
1AE4B40116D1FECD003C6D1C /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; name = res; path = ../Resources/res; sourceTree = "<group>"; };
|
||||
1AE4B40216D1FECD003C6D1C /* src */ = {isa = PBXFileReference; lastKnownFileType = folder; name = src; path = ../Resources/src; sourceTree = "<group>"; };
|
||||
|
@ -905,9 +905,9 @@
|
|||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../../../external/spidermonkey/include/mac",
|
||||
"$(SRCROOT)/../../../external/glfw3/include/mac",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../cocos2d/external/spidermonkey/include/mac",
|
||||
"$(SRCROOT)/../cocos2d/external/glfw3/include/mac",
|
||||
);
|
||||
INFOPLIST_FILE = mac/Info.plist;
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
|
@ -930,9 +930,9 @@
|
|||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../../../external/spidermonkey/include/mac",
|
||||
"$(SRCROOT)/../../../external/glfw3/include/mac",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/mac",
|
||||
"$(SRCROOT)/../cocos2d/external/spidermonkey/include/mac",
|
||||
"$(SRCROOT)/../cocos2d/external/glfw3/include/mac",
|
||||
);
|
||||
INFOPLIST_FILE = mac/Info.plist;
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
|
@ -960,21 +960,21 @@
|
|||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(SRCROOT)/../../..",
|
||||
"$(SRCROOT)/../../../cocos",
|
||||
"$(SRCROOT)/../../../cocos/base",
|
||||
"$(SRCROOT)/../../../cocos/physics",
|
||||
"$(SRCROOT)/../../../cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../../../cocos/2d",
|
||||
"$(SRCROOT)/../../../cocos/gui",
|
||||
"$(SRCROOT)/../../../cocos/network",
|
||||
"$(SRCROOT)/../../../cocos/audio/include",
|
||||
"$(SRCROOT)/../../../cocos/editor-support",
|
||||
"$(SRCROOT)/../../../cocos/scripting/javascript/bindings",
|
||||
"$(SRCROOT)/../../../cocos/scripting/auto-generated/js-bindings",
|
||||
"$(SRCROOT)/../../../extensions",
|
||||
"$(SRCROOT)/../../../external",
|
||||
"$(SRCROOT)/../../../external/chipmunk/include/chipmunk",
|
||||
"$(SRCROOT)/../cocos2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos",
|
||||
"$(SRCROOT)/../cocos2d/cocos/base",
|
||||
"$(SRCROOT)/../cocos2d/cocos/physics",
|
||||
"$(SRCROOT)/../cocos2d/cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos/gui",
|
||||
"$(SRCROOT)/../cocos2d/cocos/network",
|
||||
"$(SRCROOT)/../cocos2d/cocos/audio/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/editor-support",
|
||||
"$(SRCROOT)/../cocos2d/cocos/scripting/javascript/bindings",
|
||||
"$(SRCROOT)/../cocos2d/cocos/scripting/auto-generated/js-bindings",
|
||||
"$(SRCROOT)/../cocos2d/extensions",
|
||||
"$(SRCROOT)/../cocos2d/external",
|
||||
"$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk",
|
||||
);
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
|
@ -997,21 +997,21 @@
|
|||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(SRCROOT)/../../..",
|
||||
"$(SRCROOT)/../../../cocos",
|
||||
"$(SRCROOT)/../../../cocos/base",
|
||||
"$(SRCROOT)/../../../cocos/physics",
|
||||
"$(SRCROOT)/../../../cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../../../cocos/2d",
|
||||
"$(SRCROOT)/../../../cocos/gui",
|
||||
"$(SRCROOT)/../../../cocos/network",
|
||||
"$(SRCROOT)/../../../cocos/audio/include",
|
||||
"$(SRCROOT)/../../../cocos/editor-support",
|
||||
"$(SRCROOT)/../../../cocos/scripting/javascript/bindings",
|
||||
"$(SRCROOT)/../../../cocos/scripting/auto-generated/js-bindings",
|
||||
"$(SRCROOT)/../../../extensions",
|
||||
"$(SRCROOT)/../../../external",
|
||||
"$(SRCROOT)/../../../external/chipmunk/include/chipmunk",
|
||||
"$(SRCROOT)/../cocos2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos",
|
||||
"$(SRCROOT)/../cocos2d/cocos/base",
|
||||
"$(SRCROOT)/../cocos2d/cocos/physics",
|
||||
"$(SRCROOT)/../cocos2d/cocos/math/kazmath/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d",
|
||||
"$(SRCROOT)/../cocos2d/cocos/gui",
|
||||
"$(SRCROOT)/../cocos2d/cocos/network",
|
||||
"$(SRCROOT)/../cocos2d/cocos/audio/include",
|
||||
"$(SRCROOT)/../cocos2d/cocos/editor-support",
|
||||
"$(SRCROOT)/../cocos2d/cocos/scripting/javascript/bindings",
|
||||
"$(SRCROOT)/../cocos2d/cocos/scripting/auto-generated/js-bindings",
|
||||
"$(SRCROOT)/../cocos2d/extensions",
|
||||
"$(SRCROOT)/../cocos2d/external",
|
||||
"$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk",
|
||||
);
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
|
||||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
||||
|
@ -1035,9 +1035,9 @@
|
|||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios/Simulation",
|
||||
"$(SRCROOT)/../../../external/spidermonkey/include/ios",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation",
|
||||
"$(SRCROOT)/../cocos2d/external/spidermonkey/include/ios",
|
||||
);
|
||||
INFOPLIST_FILE = ios/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
|
@ -1062,9 +1062,9 @@
|
|||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../../../cocos/2d/platform/ios/Simulation",
|
||||
"$(SRCROOT)/../../../external/spidermonkey/include/ios",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios",
|
||||
"$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation",
|
||||
"$(SRCROOT)/../cocos2d/external/spidermonkey/include/ios",
|
||||
);
|
||||
INFOPLIST_FILE = ios/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
|
|
|
@ -10,16 +10,16 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloJavascript", "HelloJav
|
|||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\..\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\..\..\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBinding", "..\..\..\cocos\scripting\javascript\bindings\proj.win32\libJSBinding.vcxproj", "{39379840-825A-45A0-B363-C09FFEF864BD}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBinding", "..\cocos2d\cocos\scripting\javascript\bindings\proj.win32\libJSBinding.vcxproj", "{39379840-825A-45A0-B363-C09FFEF864BD}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28} = {21B2C324-891F-48EA-AD1A-5AE13DE12E28}
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
|
@ -27,15 +27,15 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBinding", "..\..\..\co
|
|||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBindingForChipmunk", "..\..\..\cocos\scripting\javascript\bindings\chipmunk\libJSBindingForChipmunk.vcxproj", "{21070E58-EEC6-4E16-8B4F-6D083DF55790}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBindingForChipmunk", "..\cocos2d\cocos\scripting\javascript\bindings\chipmunk\libJSBindingForChipmunk.vcxproj", "{21070E58-EEC6-4E16-8B4F-6D083DF55790}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libLocalStorage", "..\..\..\cocos\storage\local-storage\proj.win32\libLocalStorage.vcxproj", "{632A8F38-D0F0-4D22-86B3-D69F5E6BF63A}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libLocalStorage", "..\cocos2d\cocos\storage\local-storage\proj.win32\libLocalStorage.vcxproj", "{632A8F38-D0F0-4D22-86B3-D69F5E6BF63A}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBindingForLocalStorage", "..\..\..\cocos\scripting\javascript\bindings\localstorage\libJSBindingForLocalStorage.vcxproj", "{68F5F371-BD7B-4C30-AE5B-0B08F22E0CDE}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBindingForLocalStorage", "..\cocos2d\cocos\scripting\javascript\bindings\localstorage\libJSBindingForLocalStorage.vcxproj", "{68F5F371-BD7B-4C30-AE5B-0B08F22E0CDE}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBindingForExtension", "..\..\..\cocos\scripting\javascript\bindings\extension\libJSBindingForExtension.vcxproj", "{625F7391-9A91-48A1-8CFC-79508C822637}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libJSBindingForExtension", "..\cocos2d\cocos\scripting\javascript\bindings\extension\libJSBindingForExtension.vcxproj", "{625F7391-9A91-48A1-8CFC-79508C822637}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\..\..\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -34,13 +34,13 @@
|
|||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2d_headers.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2d_headers.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
|
@ -184,31 +184,31 @@ xcopy "$(ProjectDir)..\Resources" "$(OutDir)\HelloJavascriptRes\" /e /Y</Command
|
|||
<ResourceCompile Include="game.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\cocos\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\2d\cocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\scripting\javascript\bindings\chipmunk\libJSBindingForChipmunk.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\scripting\javascript\bindings\chipmunk\libJSBindingForChipmunk.vcxproj">
|
||||
<Project>{21070e58-eec6-4e16-8b4f-6d083df55790}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\scripting\javascript\bindings\extension\libJSBindingForExtension.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\scripting\javascript\bindings\extension\libJSBindingForExtension.vcxproj">
|
||||
<Project>{625f7391-9a91-48a1-8cfc-79508c822637}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\scripting\javascript\bindings\localstorage\libJSBindingForLocalStorage.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\scripting\javascript\bindings\localstorage\libJSBindingForLocalStorage.vcxproj">
|
||||
<Project>{68f5f371-bd7b-4c30-ae5b-0b08f22e0cde}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\scripting\javascript\bindings\proj.win32\libJSBinding.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\scripting\javascript\bindings\proj.win32\libJSBinding.vcxproj">
|
||||
<Project>{39379840-825a-45a0-b363-c09ffef864bd}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\storage\local-storage\proj.win32\libLocalStorage.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\storage\local-storage\proj.win32\libLocalStorage.vcxproj">
|
||||
<Project>{632a8f38-d0f0-4d22-86b3-d69f5e6bf63a}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\extensions\proj.win32\libExtensions.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\extensions\proj.win32\libExtensions.vcxproj">
|
||||
<Project>{21b2c324-891f-48ea-ad1a-5ae13de12e28}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
|
|||
set(APP_NAME HelloLua)
|
||||
project (${APP_NAME})
|
||||
|
||||
include(../../build/BuildHelpers.CMakeLists.txt)
|
||||
include(cocos2d/build/BuildHelpers.CMakeLists.txt)
|
||||
|
||||
option(USE_CHIPMUNK "Use chipmunk for physics library" ON)
|
||||
option(USE_BOX2D "Use box2d for physics library" OFF)
|
||||
|
@ -44,7 +44,7 @@ set(GAME_SRC
|
|||
Classes/AppDelegate.cpp
|
||||
)
|
||||
|
||||
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/../..)
|
||||
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d)
|
||||
|
||||
include_directories(
|
||||
Classes
|
||||
|
|
|
@ -107,7 +107,7 @@ def copy_resources(app_android_root):
|
|||
copy_files(resources_dir, assets_dir)
|
||||
|
||||
# lua project should copy lua script
|
||||
resources_dir = os.path.join(app_android_root, "../../../cocos/scripting/lua/script")
|
||||
resources_dir = os.path.join(app_android_root, "../cocos2d/cocos/scripting/lua/script")
|
||||
copy_files(resources_dir, assets_dir)
|
||||
|
||||
def build(ndk_build_param,android_platform,build_mode):
|
||||
|
@ -117,7 +117,7 @@ def build(ndk_build_param,android_platform,build_mode):
|
|||
select_toolchain_version()
|
||||
|
||||
current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
cocos_root = os.path.join(current_dir, "../../..")
|
||||
cocos_root = os.path.join(current_dir, "../cocos2d")
|
||||
|
||||
app_android_root = current_dir
|
||||
copy_resources(app_android_root)
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
# Project target.
|
||||
target=android-10
|
||||
|
||||
android.library.reference.1=../../../cocos/2d/platform/android/java
|
||||
android.library.reference.1=../cocos2d/cocos/2d/platform/android/java
|
||||
|
|
|
@ -219,24 +219,24 @@
|
|||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
||||
15A8A4551834C6AD00142BE0 /* AudioEngine.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = AudioEngine.lua; path = ../../../cocos/scripting/lua/script/AudioEngine.lua; sourceTree = "<group>"; };
|
||||
15A8A4561834C6AD00142BE0 /* CCBReaderLoad.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CCBReaderLoad.lua; path = ../../../cocos/scripting/lua/script/CCBReaderLoad.lua; sourceTree = "<group>"; };
|
||||
15A8A4571834C6AD00142BE0 /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = ../../../cocos/scripting/lua/script/Cocos2d.lua; sourceTree = "<group>"; };
|
||||
15A8A4581834C6AD00142BE0 /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = ../../../cocos/scripting/lua/script/Cocos2dConstants.lua; sourceTree = "<group>"; };
|
||||
15A8A4591834C6AD00142BE0 /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = ../../../cocos/scripting/lua/script/Deprecated.lua; sourceTree = "<group>"; };
|
||||
15A8A45A1834C6AD00142BE0 /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = ../../../cocos/scripting/lua/script/DeprecatedClass.lua; sourceTree = "<group>"; };
|
||||
15A8A45B1834C6AD00142BE0 /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = ../../../cocos/scripting/lua/script/DeprecatedEnum.lua; sourceTree = "<group>"; };
|
||||
15A8A45C1834C6AD00142BE0 /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = ../../../cocos/scripting/lua/script/DeprecatedOpenglEnum.lua; sourceTree = "<group>"; };
|
||||
15A8A45D1834C6AD00142BE0 /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = ../../../cocos/scripting/lua/script/DrawPrimitives.lua; sourceTree = "<group>"; };
|
||||
15A8A45E1834C6AD00142BE0 /* json.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = json.lua; path = ../../../cocos/scripting/lua/script/json.lua; sourceTree = "<group>"; };
|
||||
15A8A45F1834C6AD00142BE0 /* luaj.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaj.lua; path = ../../../cocos/scripting/lua/script/luaj.lua; sourceTree = "<group>"; };
|
||||
15A8A4601834C6AD00142BE0 /* luaoc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaoc.lua; path = ../../../cocos/scripting/lua/script/luaoc.lua; sourceTree = "<group>"; };
|
||||
15A8A4611834C6AD00142BE0 /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = ../../../cocos/scripting/lua/script/Opengl.lua; sourceTree = "<group>"; };
|
||||
15A8A4621834C6AD00142BE0 /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = ../../../cocos/scripting/lua/script/OpenglConstants.lua; sourceTree = "<group>"; };
|
||||
15A8A4631834C6AD00142BE0 /* StudioConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = StudioConstants.lua; path = ../../../cocos/scripting/lua/script/StudioConstants.lua; sourceTree = "<group>"; };
|
||||
15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
||||
15A8A4551834C6AD00142BE0 /* AudioEngine.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = AudioEngine.lua; path = ../cocos2d/cocos/scripting/lua/script/AudioEngine.lua; sourceTree = "<group>"; };
|
||||
15A8A4561834C6AD00142BE0 /* CCBReaderLoad.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CCBReaderLoad.lua; path = ../cocos2d/cocos/scripting/lua/script/CCBReaderLoad.lua; sourceTree = "<group>"; };
|
||||
15A8A4571834C6AD00142BE0 /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = ../cocos2d/cocos/scripting/lua/script/Cocos2d.lua; sourceTree = "<group>"; };
|
||||
15A8A4581834C6AD00142BE0 /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = ../cocos2d/cocos/scripting/lua/script/Cocos2dConstants.lua; sourceTree = "<group>"; };
|
||||
15A8A4591834C6AD00142BE0 /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = ../cocos2d/cocos/scripting/lua/script/Deprecated.lua; sourceTree = "<group>"; };
|
||||
15A8A45A1834C6AD00142BE0 /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = ../cocos2d/cocos/scripting/lua/script/DeprecatedClass.lua; sourceTree = "<group>"; };
|
||||
15A8A45B1834C6AD00142BE0 /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = ../cocos2d/cocos/scripting/lua/script/DeprecatedEnum.lua; sourceTree = "<group>"; };
|
||||
15A8A45C1834C6AD00142BE0 /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = ../cocos2d/cocos/scripting/lua/script/DeprecatedOpenglEnum.lua; sourceTree = "<group>"; };
|
||||
15A8A45D1834C6AD00142BE0 /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = ../cocos2d/cocos/scripting/lua/script/DrawPrimitives.lua; sourceTree = "<group>"; };
|
||||
15A8A45E1834C6AD00142BE0 /* json.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = json.lua; path = ../cocos2d/cocos/scripting/lua/script/json.lua; sourceTree = "<group>"; };
|
||||
15A8A45F1834C6AD00142BE0 /* luaj.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaj.lua; path = ../cocos2d/cocos/scripting/lua/script/luaj.lua; sourceTree = "<group>"; };
|
||||
15A8A4601834C6AD00142BE0 /* luaoc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaoc.lua; path = ../cocos2d/cocos/scripting/lua/script/luaoc.lua; sourceTree = "<group>"; };
|
||||
15A8A4611834C6AD00142BE0 /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = ../cocos2d/cocos/scripting/lua/script/Opengl.lua; sourceTree = "<group>"; };
|
||||
15A8A4621834C6AD00142BE0 /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = ../cocos2d/cocos/scripting/lua/script/OpenglConstants.lua; sourceTree = "<group>"; };
|
||||
15A8A4631834C6AD00142BE0 /* StudioConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = StudioConstants.lua; path = ../cocos2d/cocos/scripting/lua/script/StudioConstants.lua; sourceTree = "<group>"; };
|
||||
15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; };
|
||||
15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
|
||||
15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../cocos2d/cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
|
||||
1AC3622316D47C5C000847F2 /* background.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = background.mp3; path = ../Resources/background.mp3; sourceTree = "<group>"; };
|
||||
1AC3622416D47C5C000847F2 /* background.ogg */ = {isa = PBXFileReference; lastKnownFileType = file; name = background.ogg; path = ../Resources/background.ogg; sourceTree = "<group>"; };
|
||||
1AC3622516D47C5C000847F2 /* crop.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = crop.png; path = ../Resources/crop.png; sourceTree = "<group>"; };
|
||||
|
@ -824,7 +824,7 @@
|
|||
10000,
|
||||
);
|
||||
SDKROOT = macosx;
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/mac $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../external/glfw3/include/mac $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../cocos2d/cocos $(SRCROOT)/../cocos2d/cocos/base $(SRCROOT)/../cocos2d/cocos/2d $(SRCROOT)/../cocos2d/cocos/physics $(SRCROOT)/../cocos2d/cocos/math/kazmath/include $(SRCROOT)/../cocos2d/cocos/2d/platform/mac $(SRCROOT)/../cocos2d/cocos/audio/include $(SRCROOT)/../cocos2d/cocos/editor-support $(SRCROOT)/../cocos2d/cocos/gui $(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk $(SRCROOT)/../cocos2d/external $(SRCROOT)/../cocos2d/external/glfw3/include/mac $(SRCROOT)/../cocos2d/cocos/scripting/lua/bindings $(SRCROOT)/../cocos2d/external/lua/luajit/include $(SRCROOT)/../cocos2d/external/lua/tolua";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
@ -850,7 +850,7 @@
|
|||
10000,
|
||||
);
|
||||
SDKROOT = macosx;
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/mac $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../external/glfw3/include/mac $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../cocos2d/cocos $(SRCROOT)/../cocos2d/cocos/base $(SRCROOT)/../cocos2d/cocos/2d $(SRCROOT)/../cocos2d/cocos/physics $(SRCROOT)/../cocos2d/cocos/math/kazmath/include $(SRCROOT)/../cocos2d/cocos/2d/platform/mac $(SRCROOT)/../cocos2d/cocos/audio/include $(SRCROOT)/../cocos2d/cocos/editor-support $(SRCROOT)/../cocos2d/cocos/gui $(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk $(SRCROOT)/../cocos2d/external $(SRCROOT)/../cocos2d/external/glfw3/include/mac $(SRCROOT)/../cocos2d/cocos/scripting/lua/bindings $(SRCROOT)/../cocos2d/external/lua/luajit/include $(SRCROOT)/../cocos2d/external/lua/tolua";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
@ -942,7 +942,7 @@
|
|||
LIBRARY_SEARCH_PATHS = "";
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/ios $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../cocos2d/cocos $(SRCROOT)/../cocos2d/cocos/base $(SRCROOT)/../cocos2d/cocos/2d $(SRCROOT)/../cocos2d/cocos/physics $(SRCROOT)/../cocos2d/cocos/math/kazmath/include $(SRCROOT)/../cocos2d/cocos/2d/platform/ios $(SRCROOT)/../cocos2d/cocos/audio/include $(SRCROOT)/../cocos2d/cocos/editor-support $(SRCROOT)/../cocos2d/cocos/gui $(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk $(SRCROOT)/../cocos2d/external $(SRCROOT)/../cocos2d/cocos/scripting/lua/bindings $(SRCROOT)/../cocos2d/external/lua/luajit/include $(SRCROOT)/../cocos2d/external/lua/tolua";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
@ -964,7 +964,7 @@
|
|||
LIBRARY_SEARCH_PATHS = "";
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/ios $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
|
||||
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../cocos2d/cocos $(SRCROOT)/../cocos2d/cocos/base $(SRCROOT)/../cocos2d/cocos/2d $(SRCROOT)/../cocos2d/cocos/physics $(SRCROOT)/../cocos2d/cocos/math/kazmath/include $(SRCROOT)/../cocos2d/cocos/2d/platform/ios $(SRCROOT)/../cocos2d/cocos/audio/include $(SRCROOT)/../cocos2d/cocos/editor-support $(SRCROOT)/../cocos2d/cocos/gui $(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk $(SRCROOT)/../cocos2d/external $(SRCROOT)/../cocos2d/cocos/scripting/lua/bindings $(SRCROOT)/../cocos2d/external/lua/luajit/include $(SRCROOT)/../cocos2d/external/lua/tolua";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
|
@ -1,411 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.684675641">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.684675641" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.684675641" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug" prebuildStep="mkdir -p bin && cp -R -n ../../../../samples/Cpp/TestCpp/Resources ../../../../samples/Lua/HelloLua/">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.684675641." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.1168665521" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.2039781202" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/HelloLua/Debug}" id="cdt.managedbuild.target.gnu.builder.exe.debug.102570384" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.751250359" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.889157849" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.267147213" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1198800325" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.1970386575" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.1761931224" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.103685015" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1377495991" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.868044462" name="Optimization Level" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.debug.option.debugging.level.234553092" name="Debug Level" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.2130120472" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1540019914" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.1450392108" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,${ProjDirPath}/../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/third_party/fmod/api/lib -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,${ProjDirPath}/../../../scripting/lua/proj.linux/${ConfigName}" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.127674845" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
|
||||
<option id="gnu.cpp.link.option.libs.1672912039" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="lua"/>
|
||||
<listOptionValue builtIn="false" value="fmodex"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.1982163393" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""../../../../cocos2dx/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../CocosDenshion/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../scripting/lua/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/api/lib"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.154309798" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.172675447" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.2124631163" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="cocos2dx_support|Classes" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Classes"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="cocos2dx_support"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.890968076">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.890968076" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.890968076" name="Release" parent="cdt.managedbuild.config.gnu.exe.release" prebuildStep="mkdir -p bin && cp -R -n ../../../../samples/Cpp/TestCpp/Resources ../../../../samples/Lua/HelloLua/">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.release.890968076." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.720811514" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.962949232" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/HelloLua/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.1121553297" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.25255351" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.317133341" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
|
||||
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.1020508288" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.200368394" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.717016654" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.48956079" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1669186843" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.279374166" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.513797541" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.release.option.debugging.level.1785407921" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.606181663" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1951510828" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1196338383" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,${ProjDirPath}/../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/third_party/fmod/api/lib -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,${ProjDirPath}/../../../scripting/lua/proj.linux/${ConfigName}" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.968523880" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
|
||||
<option id="gnu.cpp.link.option.libs.841434875" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="lua"/>
|
||||
<listOptionValue builtIn="false" value="fmodex"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.815635762" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""../../../../cocos2dx/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../CocosDenshion/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../scripting/lua/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/api/lib"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.760339141" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1526892084" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.569443221" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.684675641.877862202">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.684675641.877862202" moduleId="org.eclipse.cdt.core.settings" name="Debug64">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.684675641.877862202" name="Debug64" parent="cdt.managedbuild.config.gnu.exe.debug" prebuildStep="mkdir -p bin && cp -R -n ../../../../samples/Cpp/TestCpp/Resources ../../../../samples/Lua/HelloLua/">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.684675641.877862202." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.1546937154" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.1457614998" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/HelloLua/Debug}" id="cdt.managedbuild.target.gnu.builder.exe.debug.1642448091" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.1085994279" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1579483265" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.1548210708" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1171461588" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.1238945763" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.258605402" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.601282888" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.470861430" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.827823720" name="Optimization Level" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.debug.option.debugging.level.930288569" name="Debug Level" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.813300398" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1965017009" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.816162891" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,${ProjDirPath}/../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/third_party/fmod/lib64/api/lib -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,${ProjDirPath}/../../../scripting/lua/proj.linux/${ConfigName}" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.1045882812" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
|
||||
<option id="gnu.cpp.link.option.libs.67248046" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="lua"/>
|
||||
<listOptionValue builtIn="false" value="fmodex64"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.668737399" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""../../../../cocos2dx/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../CocosDenshion/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../scripting/lua/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/lib64/api/lib"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1332538227" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.946129111" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1555200269" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="cocos2dx_support|Classes" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Classes"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="cocos2dx_support"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.890968076.613854536">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.890968076.613854536" moduleId="org.eclipse.cdt.core.settings" name="Release64">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.890968076.613854536" name="Release64" parent="cdt.managedbuild.config.gnu.exe.release" prebuildStep="mkdir -p bin && cp -R -n ../../../../samples/Cpp/TestCpp/Resources ../../../../samples/Lua/HelloLua/">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.exe.release.890968076.613854536." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.965057447" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.864921619" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/HelloLua/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.1213155948" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.384004806" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1425682468" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
|
||||
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.275939898" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.875155814" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.469853764" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.1576260448" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="LINUX"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1170792696" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1319721895" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1298061509" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.exe.release.option.debugging.level.512643130" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.310752920" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../../Classes"/>
|
||||
<listOptionValue builtIn="false" value="../../"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/kazmath/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../cocos2dx/platform/third_party/linux"/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/cocos2dx_support"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/lua"/>
|
||||
<listOptionValue builtIn="false" value="../../../../scripting/lua/tolua"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1641154835" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.244210697" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} bin/${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wl,-rpath,${ProjDirPath}/../../../cocos2dx/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/proj.linux/${ConfigName} -Wl,-rpath,${ProjDirPath}/../../../CocosDenshion/third_party/fmod/lib64/api/lib -Wl,-rpath,../../../cocos2dx/platform/third_party/linux/glew-1.7.0/glew-1.7.0/lib -Wl,-rpath,${ProjDirPath}/../../../scripting/lua/proj.linux/${ConfigName}" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.517803425" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
|
||||
<option id="gnu.cpp.link.option.libs.966243361" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="cocos2d"/>
|
||||
<listOptionValue builtIn="false" value="cocosdenshion"/>
|
||||
<listOptionValue builtIn="false" value="GLEW"/>
|
||||
<listOptionValue builtIn="false" value="rt"/>
|
||||
<listOptionValue builtIn="false" value="z"/>
|
||||
<listOptionValue builtIn="false" value="lua"/>
|
||||
<listOptionValue builtIn="false" value="fmodex64"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.1908709804" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""../../../../cocos2dx/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../CocosDenshion/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value=""../../../../scripting/lua/proj.linux/${ConfigName}""/>
|
||||
<listOptionValue builtIn="false" value="../../../../CocosDenshion/third_party/fmod/lib64/api/lib"/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.479170088" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1304966385" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.2085068310" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="HelloLua.cdt.managedbuild.target.gnu.exe.1639529943" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Release">
|
||||
<resource resourceType="PROJECT" workspacePath="/HelloLua"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Debug64">
|
||||
<resource resourceType="PROJECT" workspacePath="/HelloLua"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Release64"/>
|
||||
<configuration configurationName="Debug">
|
||||
<resource resourceType="PROJECT" workspacePath="/HelloLua"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.684675641;cdt.managedbuild.config.gnu.exe.debug.684675641.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.889157849;cdt.managedbuild.tool.gnu.cpp.compiler.input.103685015">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.684675641.877862202;cdt.managedbuild.config.gnu.exe.debug.684675641.877862202.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1579483265;cdt.managedbuild.tool.gnu.cpp.compiler.input.601282888">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.890968076;cdt.managedbuild.config.gnu.exe.release.890968076.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.317133341;cdt.managedbuild.tool.gnu.cpp.compiler.input.1669186843">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.890968076;cdt.managedbuild.config.gnu.exe.release.890968076.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.279374166;cdt.managedbuild.tool.gnu.c.compiler.input.1951510828">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.684675641.877862202;cdt.managedbuild.config.gnu.exe.debug.684675641.877862202.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.470861430;cdt.managedbuild.tool.gnu.c.compiler.input.1965017009">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.684675641;cdt.managedbuild.config.gnu.exe.debug.684675641.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1377495991;cdt.managedbuild.tool.gnu.c.compiler.input.1540019914">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
</cproject>
|
|
@ -1,44 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>HelloLua</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>libBox2D</project>
|
||||
<project>libChipmunk</project>
|
||||
<project>libcocos2d</project>
|
||||
<project>libCocosDenshion</project>
|
||||
<project>liblua</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>Classes</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-1-PROJECT_LOC/Classes</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>cocos2dx_support</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-4-PROJECT_LOC/scripting/lua/cocos2dx_support</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
</projectDescription>
|
|
@ -1,27 +0,0 @@
|
|||
EXECUTABLE = HelloLua
|
||||
|
||||
COCOS_ROOT = ../../..
|
||||
INCLUDES = -I../ -I../Classes -I$(COCOS_ROOT)/audio/include \
|
||||
-I$(COCOS_ROOT)/scripting/lua/lua \
|
||||
-I$(COCOS_ROOT)/scripting/lua/tolua \
|
||||
-I$(COCOS_ROOT)/scripting/lua/cocos2dx_support
|
||||
|
||||
SOURCES = main.cpp ../Classes/AppDelegate.cpp
|
||||
|
||||
SHAREDLIBS += -lcocos2d -lcocosdenshion -llua
|
||||
COCOS_LIBS = $(LIB_DIR)/libcocos2d.so $(LIB_DIR)/libcocosdenshion.so $(LIB_DIR)/liblua.so
|
||||
|
||||
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
||||
|
||||
$(TARGET): $(OBJECTS) $(STATICLIBS) $(COCOS_LIBS) $(CORE_MAKEFILE_LIST)
|
||||
@mkdir -p $(@D)
|
||||
cp -n ../../../scripting/lua/script/* ../../../../samples/Lua/TestLua/Resources
|
||||
$(LOG_LINK)$(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(SHAREDLIBS) $(STATICLIBS) $(LIBS)
|
||||
|
||||
$(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST)
|
||||
@mkdir -p $(@D)
|
||||
$(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@
|
||||
|
||||
$(OBJ_DIR)/%.o: %.cpp $(CORE_MAKEFILE_LIST)
|
||||
@mkdir -p $(@D)
|
||||
$(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
rm -rf ../bin
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
#make global libs
|
||||
cd ../cocos2d
|
||||
#install depend libs
|
||||
sudo ./build/install-deps-linux.sh
|
||||
mkdir -p linux-build
|
||||
cd linux-build
|
||||
cmake .. -DBUILD_LIBS_LUA=OFF -DBUILD_HelloCpp=OFF -DBUILD_TestCpp=OFF -DBUILD_HelloLua=OFF -DBUILD_TestLua=OFF
|
||||
make -j4
|
||||
|
||||
#make bin
|
||||
cd $DIR
|
||||
rm -rf bin
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ../..
|
||||
make -j4
|
||||
cd ..
|
||||
mv ../bin bin
|
|
@ -10,28 +10,28 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloLua", "HelloLua.vcxpro
|
|||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\..\..\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\..\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\..\..\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "..\..\..\cocos\scripting\lua\bindings\liblua.vcxproj", "{DDC3E27F-004D-4DD4-9DD3-931A013D2159}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "..\cocos2d\cocos\scripting\lua\bindings\liblua.vcxproj", "{DDC3E27F-004D-4DD4-9DD3-931A013D2159}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libNetwork", "..\..\..\cocos\network\proj.win32\libNetwork.vcxproj", "{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libNetwork", "..\cocos2d\cocos\network\proj.win32\libNetwork.vcxproj", "{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosBuilder", "..\..\..\cocos\editor-support\cocosbuilder\proj.win32\libCocosBuilder.vcxproj", "{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosBuilder", "..\cocos2d\cocos\editor-support\cocosbuilder\proj.win32\libCocosBuilder.vcxproj", "{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\..\..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\..\..\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -36,13 +36,13 @@
|
|||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2d_headers.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\..\..\cocos\2d\cocos2d_headers.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2dx.props" />
|
||||
<Import Project="..\cocos2d\cocos\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
|
@ -104,13 +104,13 @@
|
|||
</DllDataFileName>
|
||||
</Midl>
|
||||
<PreBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\..\cocos\scripting\lua\script" "$(ProjectDir)..\Resources" /e /Y</Command>
|
||||
<Command>xcopy "$(ProjectDir)..\cocos2d\cocos\scripting\lua\script" "$(ProjectDir)..\Resources" /e /Y</Command>
|
||||
<Message>
|
||||
</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\..\external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
||||
xcopy /Y /Q "$(ProjectDir)..\cocos2d\external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
||||
</PreLinkEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
|
@ -160,7 +160,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\external\websockets\prebuilt\win32\*.*" "$(Ou
|
|||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\..\external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
||||
xcopy /Y /Q "$(ProjectDir)..\cocos2d\external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
||||
</PreLinkEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
@ -175,31 +175,31 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\external\websockets\prebuilt\win32\*.*" "$(Ou
|
|||
<ResourceCompile Include="game.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\cocos\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\2d\cocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\editor-support\cocosbuilder\proj.win32\libCocosBuilder.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\editor-support\cocosbuilder\proj.win32\libCocosBuilder.vcxproj">
|
||||
<Project>{811c0dab-7b96-4bd3-a154-b7572b58e4ab}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj">
|
||||
<Project>{b57cf53f-2e49-4031-9822-047cc0e6bde2}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\gui\proj.win32\libGUI.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj">
|
||||
<Project>{7e06e92c-537a-442b-9e4a-4761c84f8a1a}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\network\proj.win32\libNetwork.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\network\proj.win32\libNetwork.vcxproj">
|
||||
<Project>{df2638c0-8128-4847-867c-6eafe3dee7b5}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\cocos\scripting\lua\bindings\liblua.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\cocos\scripting\lua\bindings\liblua.vcxproj">
|
||||
<Project>{ddc3e27f-004d-4dd4-9dd3-931a013d2159}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\extensions\proj.win32\libExtensions.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\extensions\proj.win32\libExtensions.vcxproj">
|
||||
<Project>{21b2c324-891f-48ea-ad1a-5ae13de12e28}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<ProjectReference Include="..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#create_project
|
||||
|
||||
First you need install python environment.
|
||||
|
||||
There have double ways create new cocos project.
|
||||
Notice:The best of generate path is english path.
|
||||
##1.UI
|
||||
* Windows: double click "create_project.pyw" file
|
||||
* Mac: ./create_project.pyw
|
||||
* Linux: The tkinter was not installed in the linux's default python,therefore, in order to use the gui operate, you have to install the tkinter libaray manually. There is another way to create project by command line. see below for details
|
||||
##2.console
|
||||
$ cd cocos2d-x/tools/project-creator
|
||||
$ ./project-creator.pyw --help
|
||||
$ ./project-creator.pyw -n mygame -k com.your_company.mygame -l cpp -p /home/mygame
|
||||
$ cd /home/mygame
|
|
@ -1,177 +0,0 @@
|
|||
#!/usr/bin/python
|
||||
# create_project.py
|
||||
# Create cross-platform cocos2d-x project
|
||||
# Copyright (c) 2012 cocos2d-x.org
|
||||
# Author: WangZhe
|
||||
|
||||
# define global variables
|
||||
PLATFORMS = {
|
||||
"cpp" : ["ios_mac", "android", "win32", "linux"],
|
||||
"lua" : ["ios_mac", "android", "win32", "linux"],
|
||||
"javascript" : ["ios_mac", "android", "win32"]
|
||||
}
|
||||
|
||||
|
||||
# begin
|
||||
import sys
|
||||
import os, os.path
|
||||
import json
|
||||
import shutil
|
||||
|
||||
def checkParams():
|
||||
from optparse import OptionParser
|
||||
|
||||
# set the parser to parse input params
|
||||
# the correspond variable name of "-x, --xxx" is parser.xxx
|
||||
parser = OptionParser(usage="Usage: %prog -p <PROJECT_NAME> -k <PACKAGE_NAME> -l <cpp|lua|javascript>\nSample: %prog -p MyGame -k com.MyCompany.AwesomeGame -l javascript")
|
||||
parser.add_option("-p", "--project", metavar="PROJECT_NAME", help="Set a project name")
|
||||
parser.add_option("-k", "--package", metavar="PACKAGE_NAME", help="Set a package name for project")
|
||||
parser.add_option("-l", "--language",
|
||||
metavar="PROGRAMMING_NAME",
|
||||
type="choice",
|
||||
choices=["cpp", "lua", "javascript"],
|
||||
help="Major programming language you want to use, should be [cpp | lua | javascript]")
|
||||
|
||||
#parse the params
|
||||
(opts, args) = parser.parse_args()
|
||||
|
||||
# generate our internal params
|
||||
context = {}.fromkeys(("language", "src_project_name", "src_package_name", "dst_project_name", "dst_package_name", "src_project_path", "dst_project_path", "script_dir"))
|
||||
platforms_list = []
|
||||
|
||||
context["script_dir"] = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
if opts.project:
|
||||
context["dst_project_name"] = opts.project
|
||||
context["dst_project_path"] = os.path.abspath(os.path.join(context["script_dir"], "..", "..", "projects", context["dst_project_name"]))
|
||||
else:
|
||||
parser.error("-p or --project is not specified")
|
||||
|
||||
if opts.package:
|
||||
context["dst_package_name"] = opts.package
|
||||
else:
|
||||
parser.error("-k or --package is not specified")
|
||||
|
||||
if opts.language:
|
||||
context["language"] = opts.language
|
||||
else:
|
||||
parser.error("-l or --language is not specified")
|
||||
|
||||
# fill in src_project_name and src_package_name according to "language"
|
||||
template_dir = os.path.abspath(os.path.join(context["script_dir"], "..", "..", "template"))
|
||||
if ("cpp" == context["language"]):
|
||||
context["src_project_name"] = "HelloCpp"
|
||||
context["src_package_name"] = "org.cocos2dx.hellocpp"
|
||||
context["src_project_path"] = os.path.join(template_dir, "multi-platform-cpp")
|
||||
elif ("lua" == context["language"]):
|
||||
context["src_project_name"] = "HelloLua"
|
||||
context["src_package_name"] = "org.cocos2dx.hellolua"
|
||||
context["src_project_path"] = os.path.join(template_dir, "multi-platform-lua")
|
||||
elif ("javascript" == context["language"]):
|
||||
context["src_project_name"] = "HelloJavascript"
|
||||
context["src_package_name"] = "org.cocos2dx.hellojavascript"
|
||||
context["src_project_path"] = os.path.join(template_dir, "multi-platform-js")
|
||||
else:
|
||||
print ("Your language parameter doesn\'t exist." \
|
||||
"Check correct language option\'s parameter")
|
||||
sys.exit()
|
||||
platforms_list = PLATFORMS.get(context["language"], [])
|
||||
return context, platforms_list
|
||||
# end of checkParams(context) function
|
||||
|
||||
def replaceString(filepath, src_string, dst_string):
|
||||
content = ""
|
||||
f1 = open(filepath, "rb")
|
||||
for line in f1:
|
||||
strline = line.decode('utf8')
|
||||
if src_string in strline:
|
||||
content += strline.replace(src_string, dst_string)
|
||||
else:
|
||||
content += strline
|
||||
f1.close()
|
||||
f2 = open(filepath, "wb")
|
||||
f2.write(content.encode('utf8'))
|
||||
f2.close()
|
||||
# end of replaceString
|
||||
|
||||
def processPlatformProjects(context, platform):
|
||||
# determine proj_path
|
||||
proj_path = os.path.join(context["dst_project_path"], "proj." + platform)
|
||||
java_package_path = ""
|
||||
|
||||
# read json config file for the current platform
|
||||
conf_path = os.path.join(context["script_dir"], "%s.json" % platform)
|
||||
f = open(conf_path)
|
||||
data = json.load(f)
|
||||
|
||||
# rename package path, like "org.cocos2dx.hello" to "com.company.game". This is a special process for android
|
||||
if platform == "android":
|
||||
src_pkg = context["src_package_name"].split('.')
|
||||
dst_pkg = context["dst_package_name"].split('.')
|
||||
|
||||
java_package_path = os.path.join(*dst_pkg)
|
||||
|
||||
# rename files and folders
|
||||
for item in data["rename"]:
|
||||
tmp = item.replace("PACKAGE_PATH", java_package_path)
|
||||
src = tmp.replace("PROJECT_NAME", context["src_project_name"])
|
||||
dst = tmp.replace("PROJECT_NAME", context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, src)):
|
||||
os.rename(os.path.join(proj_path, src), os.path.join(proj_path, dst))
|
||||
|
||||
# remove useless files and folders
|
||||
for item in data["remove"]:
|
||||
dst = item.replace("PROJECT_NAME", context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, dst)):
|
||||
shutil.rmtree(os.path.join(proj_path, dst))
|
||||
|
||||
# rename package_name. This should be replaced at first. Don't change this sequence
|
||||
for item in data["replace_package_name"]:
|
||||
tmp = item.replace("PACKAGE_PATH", java_package_path)
|
||||
dst = tmp.replace("PROJECT_NAME", context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, dst)):
|
||||
replaceString(os.path.join(proj_path, dst), context["src_package_name"], context["dst_package_name"])
|
||||
|
||||
# rename project_name
|
||||
for item in data["replace_project_name"]:
|
||||
tmp = item.replace("PACKAGE_PATH", java_package_path)
|
||||
dst = tmp.replace("PROJECT_NAME", context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, dst)):
|
||||
replaceString(os.path.join(proj_path, dst), context["src_project_name"], context["dst_project_name"])
|
||||
|
||||
# done!
|
||||
print ("proj.%s\t\t: Done!" % platform)
|
||||
# end of processPlatformProjects
|
||||
|
||||
def createPlatformProjects():
|
||||
# prepare valid "context" dictionary
|
||||
context, platforms_list = checkParams()
|
||||
# print context, platforms_list
|
||||
|
||||
# copy "lauguage"(cpp/lua/javascript) platform.proj into cocos2d-x/projects/<project_name>/folder
|
||||
if os.path.exists(context["dst_project_path"]):
|
||||
print ("Error:" + context["dst_project_path"] + " folder is already existing")
|
||||
print ("Please remove the old project or choose a new PROJECT_NAME in -project parameter")
|
||||
sys.exit()
|
||||
else:
|
||||
shutil.copytree(context["src_project_path"], context["dst_project_path"], True)
|
||||
|
||||
# call process_proj from each platform's script folder
|
||||
for platform in platforms_list:
|
||||
processPlatformProjects(context, platform)
|
||||
# exec "import %s.handle_project_files" % (platform)
|
||||
# exec "%s.handle_project_files.handle_project_files(context)" % (platform)
|
||||
|
||||
print ("New project has been created in this path: " + context["dst_project_path"].replace("/tools/project-creator/../..", ""))
|
||||
print ("Have Fun!")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# -------------- main --------------
|
||||
# dump argvs
|
||||
# print sys.argv
|
||||
if __name__ == '__main__':
|
||||
createPlatformProjects()
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
#!/usr/bin/python
|
||||
#coding=utf-8
|
||||
"""****************************************************************************
|
||||
Copyright (c) 2013 cocos2d-x.org
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************"""
|
||||
|
||||
import sys
|
||||
def commandCreate():
|
||||
from module.core import CocosProject
|
||||
project = CocosProject()
|
||||
name, package, language, path = project.checkParams()
|
||||
project.createPlatformProjects(name, package, language, path)
|
||||
|
||||
|
||||
# ------------ main --------------
|
||||
if __name__ == '__main__':
|
||||
"""
|
||||
There have double ways to create cocos project.
|
||||
1.UI
|
||||
2.console
|
||||
#create_project.py --help
|
||||
#create_project.py -n MyGame -k com.MyCompany.AwesomeGame -l javascript -p c:/mycompany
|
||||
"""
|
||||
if len(sys.argv)==1:
|
||||
try:
|
||||
from module.ui import createTkCocosDialog
|
||||
createTkCocosDialog()
|
||||
except ImportError:
|
||||
commandCreate()
|
||||
else:
|
||||
commandCreate()
|
||||
|
||||
|
0
tools/project-creator/__init__.py → tools/project-creator/module/__init__.py
Executable file → Normal file
0
tools/project-creator/__init__.py → tools/project-creator/module/__init__.py
Executable file → Normal file
|
@ -0,0 +1,295 @@
|
|||
#!/usr/bin/python
|
||||
#coding=utf-8
|
||||
"""****************************************************************************
|
||||
Copyright (c) 2013 cocos2d-x.org
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************"""
|
||||
|
||||
import sys
|
||||
import os, os.path
|
||||
import json
|
||||
import shutil
|
||||
|
||||
def replaceString(filepath, src_string, dst_string):
|
||||
""" From file's content replace specified string
|
||||
Arg:
|
||||
filepath: Specify a file contains the path
|
||||
src_string: old string
|
||||
dst_string: new string
|
||||
"""
|
||||
content = ""
|
||||
f1 = open(filepath, "rb")
|
||||
for line in f1:
|
||||
strline = line.decode('utf8')
|
||||
if src_string in strline:
|
||||
content += strline.replace(src_string, dst_string)
|
||||
else:
|
||||
content += strline
|
||||
f1.close()
|
||||
f2 = open(filepath, "wb")
|
||||
f2.write(content.encode('utf8'))
|
||||
f2.close()
|
||||
#end of replaceString
|
||||
|
||||
class CocosProject:
|
||||
|
||||
def __init__(self):
|
||||
"""
|
||||
"""
|
||||
self.platforms= {
|
||||
"cpp" : ["ios_mac", "android", "win32", "linux"],
|
||||
"lua" : ["ios_mac", "android", "win32", "linux"],
|
||||
"javascript" : ["ios_mac", "android", "win32"]
|
||||
}
|
||||
self.context = {
|
||||
"language": None,
|
||||
"src_project_name": None,
|
||||
"src_package_name": None,
|
||||
"dst_project_name": None,
|
||||
"dst_package_name": None,
|
||||
"src_project_path": None,
|
||||
"dst_project_path": None,
|
||||
"script_dir": None
|
||||
}
|
||||
self.platforms_list = []
|
||||
self.cocos_root =os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
|
||||
self.callbackfun = None
|
||||
self.totalStep =1
|
||||
self.step=0
|
||||
|
||||
def checkParams(self):
|
||||
"""Custom and check param list.
|
||||
"""
|
||||
from optparse import OptionParser
|
||||
# set the parser to parse input params
|
||||
# the correspond variable name of "-x, --xxx" is parser.xxx
|
||||
parser = OptionParser(
|
||||
usage="Usage: %prog -n <PROJECT_NAME> -k <PACKAGE_NAME> -l <cpp|lua|javascript> -p <PROJECT_PATH>\n\
|
||||
Sample: %prog -n MyGame -k com.MyCompany.AwesomeGame -l javascript -p c:/mycompany"
|
||||
)
|
||||
parser.add_option("-n", "--name", metavar="PROJECT_NAME",help="Set a project name")
|
||||
parser.add_option("-k", "--package", metavar="PACKAGE_NAME",help="Set a package name for project")
|
||||
parser.add_option("-l", "--language",metavar="PROGRAMMING_NAME",
|
||||
type="choice",
|
||||
choices=["cpp", "lua", "javascript"],
|
||||
help="Major programming language you want to use, should be [cpp | lua | javascript]")
|
||||
parser.add_option("-p", "--path", metavar="PROJECT_PATH",help="Set generate project path for project")
|
||||
|
||||
# parse the params
|
||||
(opts, args) = parser.parse_args()
|
||||
if not opts.name:
|
||||
parser.error("-n or --name is not specified")
|
||||
|
||||
if not opts.package:
|
||||
parser.error("-k or --package is not specified")
|
||||
|
||||
if not opts.language:
|
||||
parser.error("-l or --language is not specified")
|
||||
|
||||
if not opts.path:
|
||||
parser.error("-p or --path is not specified")
|
||||
|
||||
return opts.name, opts.package, opts.language, opts.path
|
||||
|
||||
def createPlatformProjects(self, projectName, packageName, language, projectPath, callbackfun = None):
|
||||
""" Create a plantform project.
|
||||
Arg:
|
||||
projectName: Project name, like this: "helloworld".
|
||||
packageName: It's used for android platform,like this:"com.cocos2dx.helloworld".
|
||||
language: There have three languages can be choice: [cpp | lua | javascript], like this:"javascript".
|
||||
projectPath: The path of generate project.
|
||||
callbackfun: It's new project callback function.There have four Params.
|
||||
As follow:
|
||||
def newProjectCallBack(step, totalStep, showMsg):
|
||||
#step: processing step,at present
|
||||
#totalStep: all the steps
|
||||
#showMsg: message about the progress
|
||||
pass
|
||||
|
||||
"""
|
||||
self.callbackfun = callbackfun
|
||||
|
||||
# init our internal params
|
||||
self.context["dst_project_name"] = projectName
|
||||
self.context["dst_package_name"] = packageName
|
||||
self.context["language"] = language
|
||||
self.context["dst_project_path"] = os.path.join(projectPath,projectName)
|
||||
self.context["script_dir"] = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
# fill in src_project_name and src_package_name according to "language"
|
||||
template_dir = os.path.abspath(os.path.join(self.cocos_root, "template"))
|
||||
if ("cpp" == self.context["language"]):
|
||||
self.context["src_project_name"] = "HelloCpp"
|
||||
self.context["src_package_name"] = "org.cocos2dx.hellocpp"
|
||||
self.context["src_project_path"] = os.path.join(template_dir, "multi-platform-cpp")
|
||||
elif ("lua" == self.context["language"]):
|
||||
self.context["src_project_name"] = "HelloLua"
|
||||
self.context["src_package_name"] = "org.cocos2dx.hellolua"
|
||||
self.context["src_project_path"] = os.path.join(template_dir, "multi-platform-lua")
|
||||
elif ("javascript" == self.context["language"]):
|
||||
self.context["src_project_name"] = "HelloJavascript"
|
||||
self.context["src_package_name"] = "org.cocos2dx.hellojavascript"
|
||||
self.context["src_project_path"] = os.path.join(template_dir, "multi-platform-js")
|
||||
else:
|
||||
print ("Your language parameter doesn\'t exist." \
|
||||
"Check correct language option\'s parameter")
|
||||
return False
|
||||
|
||||
# copy "lauguage"(cpp/lua/javascript) platform.proj into cocos2d-x/projects/<project_name>/folder
|
||||
if os.path.exists(self.context["dst_project_path"]):
|
||||
print ("Error:" + self.context["dst_project_path"] + " folder is already existing")
|
||||
print ("Please remove the old project or choose a new PROJECT_NAME in -project parameter")
|
||||
return False
|
||||
else:
|
||||
shutil.copytree(self.context["src_project_path"], self.context["dst_project_path"], True)
|
||||
|
||||
# check cocos engine exist
|
||||
dirlist = os.listdir(self.cocos_root)
|
||||
if (not "cocos" in dirlist) or (not "extensions" in dirlist):
|
||||
print ("The Cocos2d Engine doesn\'t exist." \
|
||||
"Check engine path, please")
|
||||
return False
|
||||
|
||||
# call process_proj from each platform's script folder
|
||||
self.platforms_list = self.platforms.get(self.context["language"], [])
|
||||
self.totalStep = len(self.platforms_list) + len(dirlist)
|
||||
self.step = 0
|
||||
for platform in self.platforms_list:
|
||||
self.__processPlatformProjects(platform)
|
||||
|
||||
# copy cocos2d engine.
|
||||
if not self.__copyCocos2dEngine():
|
||||
print ("New project Failure")
|
||||
if os.path.exists(self.context["dst_project_path"]):
|
||||
shutil.rmtree(self.context["dst_project_path"])
|
||||
return False
|
||||
|
||||
print ("###New project has been created in this path: ")
|
||||
print (self.context["dst_project_path"].replace("\\", "/"))
|
||||
print ("Have Fun!")
|
||||
return True
|
||||
|
||||
def __copyCocos2dEngine(self):
|
||||
"""Copy cocos2d engine to dst_project_path.
|
||||
Arg:
|
||||
empty
|
||||
"""
|
||||
|
||||
ignoreList={
|
||||
"samples": None,
|
||||
"docs": None,
|
||||
"licenses": None,
|
||||
"template": None,
|
||||
".git":None
|
||||
}
|
||||
|
||||
# create "cocos2d" folder
|
||||
dstPath = os.path.join(self.context["dst_project_path"],"cocos2d")
|
||||
if not os.path.exists(dstPath):
|
||||
os.makedirs(dstPath)
|
||||
|
||||
# begin copy
|
||||
print("###begin copy engine...")
|
||||
# list engine root dir.
|
||||
dirlist = os.listdir(self.cocos_root)
|
||||
for line in dirlist:
|
||||
filepath = os.path.join(self.cocos_root,line)
|
||||
showMsg = "%s\t\t\t: Done!" % line
|
||||
self.step += 1
|
||||
if ignoreList.has_key(line):
|
||||
continue
|
||||
if os.path.isdir(filepath):
|
||||
shutil.copytree(filepath, os.path.join(dstPath,line), True)
|
||||
print (showMsg)
|
||||
else:
|
||||
shutil.copyfile(filepath, os.path.join(dstPath,line))
|
||||
|
||||
if self.callbackfun:
|
||||
self.callbackfun(self.step,self.totalStep,showMsg)
|
||||
return True
|
||||
|
||||
def __processPlatformProjects(self, platform):
|
||||
""" Process each platform project.
|
||||
Arg:
|
||||
platform: "ios_mac", "android", "win32", "linux"
|
||||
"""
|
||||
|
||||
# determine proj_path
|
||||
proj_path = os.path.join(self.context["dst_project_path"], "proj." + platform)
|
||||
java_package_path = ""
|
||||
|
||||
# read json config file for the current platform
|
||||
conf_path = os.path.join(self.context["script_dir"], "%s.json" % platform)
|
||||
f = open(conf_path)
|
||||
data = json.load(f)
|
||||
|
||||
# rename package path, like "org.cocos2dx.hello" to "com.company.game". This is a special process for android
|
||||
if platform == "android":
|
||||
src_pkg = self.context["src_package_name"].split('.')
|
||||
dst_pkg = self.context["dst_package_name"].split('.')
|
||||
|
||||
java_package_path = os.path.join(*dst_pkg)
|
||||
|
||||
# rename files and folders
|
||||
for item in data["rename"]:
|
||||
tmp = item.replace("PACKAGE_PATH", java_package_path)
|
||||
src = tmp.replace("PROJECT_NAME", self.context["src_project_name"])
|
||||
dst = tmp.replace("PROJECT_NAME", self.context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, src)):
|
||||
os.rename(os.path.join(proj_path, src), os.path.join(proj_path, dst))
|
||||
|
||||
# remove useless files and folders
|
||||
for item in data["remove"]:
|
||||
dst = item.replace("PROJECT_NAME", self.context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, dst)):
|
||||
shutil.rmtree(os.path.join(proj_path, dst))
|
||||
|
||||
# rename package_name. This should be replaced at first. Don't change this sequence
|
||||
for item in data["replace_package_name"]:
|
||||
tmp = item.replace("PACKAGE_PATH", java_package_path)
|
||||
dst = tmp.replace("PROJECT_NAME", self.context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, dst)):
|
||||
replaceString(os.path.join(proj_path, dst), self.context["src_package_name"], self.context["dst_package_name"])
|
||||
|
||||
# rename project_name
|
||||
for item in data["replace_project_name"]:
|
||||
tmp = item.replace("PACKAGE_PATH", java_package_path)
|
||||
dst = tmp.replace("PROJECT_NAME", self.context["dst_project_name"])
|
||||
if os.path.exists(os.path.join(proj_path, dst)):
|
||||
replaceString(os.path.join(proj_path, dst), self.context["src_project_name"], self.context["dst_project_name"])
|
||||
|
||||
# done!
|
||||
showMsg = "proj.%s\t\t: Done!" % platform
|
||||
self.step += 1
|
||||
if self.callbackfun:
|
||||
self.callbackfun(self.step,self.totalStep,showMsg)
|
||||
print (showMsg)
|
||||
# end of processPlatformProjects
|
||||
|
||||
# -------------- main --------------
|
||||
# dump argvs
|
||||
# print sys.argv
|
||||
if __name__ == '__main__':
|
||||
project = CocosProject()
|
||||
name, package, language, path = project.checkParams()
|
||||
project.createPlatformProjects(name, package, language, path)
|
||||
|
|
@ -0,0 +1,278 @@
|
|||
#!/usr/bin/python
|
||||
#coding=utf-8
|
||||
"""****************************************************************************
|
||||
Copyright (c) 2013 cocos2d-x.org
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************"""
|
||||
|
||||
import platform
|
||||
import os, os.path
|
||||
import shutil
|
||||
import threading
|
||||
import time
|
||||
|
||||
from module.core import CocosProject
|
||||
|
||||
#import head files by python version.
|
||||
if int(platform.python_version().split('.')[0])>=3:
|
||||
from tkinter import *
|
||||
from tkinter.filedialog import *
|
||||
from tkinter.messagebox import *
|
||||
from queue import *
|
||||
else:
|
||||
from Tkinter import *
|
||||
from tkFileDialog import *
|
||||
from tkMessageBox import *
|
||||
from Queue import *
|
||||
|
||||
|
||||
class ThreadedTask(threading.Thread):
|
||||
"""Create cocos project thread.
|
||||
"""
|
||||
def __init__(self, queue, projectName, packageName, language, projectPath):
|
||||
threading.Thread.__init__(self)
|
||||
self.queue = queue
|
||||
self.projectName = projectName
|
||||
self.packageName = packageName
|
||||
self.language = language
|
||||
self.projectPath = projectPath
|
||||
|
||||
def run(self):
|
||||
"""Create cocos project.
|
||||
custom message rules to notify ui
|
||||
As follow:
|
||||
begin@%d@%d@%s --- create before
|
||||
doing@%d@%d@%s --- creating
|
||||
end@%d@%d@%s --- create after
|
||||
"""
|
||||
#delete exist project.
|
||||
if os.path.exists(os.path.join(self.projectPath, self.projectName)):
|
||||
print ("###begin remove... " + self.projectName)
|
||||
shutil.rmtree(os.path.join(self.projectPath, self.projectName))
|
||||
print ("###remove finish: " + self.projectName)
|
||||
putMsg = "begin@%d@%d@%s" %(0, 100, "begin create")
|
||||
self.queue.put(putMsg)
|
||||
|
||||
project = CocosProject()
|
||||
breturn = project.createPlatformProjects(
|
||||
self.projectName,
|
||||
self.packageName,
|
||||
self.language,
|
||||
self.projectPath,
|
||||
self.newProjectCallBack
|
||||
)
|
||||
if breturn:
|
||||
putMsg = "end@%d@%d@%s" %(100, 100, "create successful")
|
||||
else:
|
||||
putMsg = "end@%d@%d@%s" %(100, 100, "create failure")
|
||||
self.queue.put(putMsg)
|
||||
|
||||
def newProjectCallBack(self, step, totalStep, showMsg):
|
||||
"""Creating cocos project callback.
|
||||
"""
|
||||
putMsg = "doing@%d@%d@%s" %(step, totalStep, showMsg)
|
||||
self.queue.put(putMsg)
|
||||
|
||||
class StdoutRedirector(object):
|
||||
"""Redirect output.
|
||||
"""
|
||||
def __init__(self, text_area):
|
||||
self.text_area = text_area
|
||||
|
||||
def write(self, str):
|
||||
self.text_area.insert(END, str)
|
||||
self.text_area.see(END)
|
||||
|
||||
class TkCocosDialog(Frame):
|
||||
def __init__(self, parent):
|
||||
Frame.__init__(self,parent)
|
||||
|
||||
self.projectName = ""
|
||||
self.packageName = ""
|
||||
self.language = ""
|
||||
|
||||
self.parent = parent
|
||||
self.columnconfigure(3, weight=1)
|
||||
self.rowconfigure(5, weight=1)
|
||||
|
||||
# project name frame
|
||||
self.labName = Label(self, text="projectName:")
|
||||
self.strName = StringVar()
|
||||
self.strName.set("MyGame")
|
||||
self.editName = Entry(self, textvariable=self.strName)
|
||||
self.labName.grid(sticky=W, pady=4, padx=5)
|
||||
self.editName.grid(row=0, column=1, columnspan=3,padx=5, pady=2,sticky=E+W)
|
||||
|
||||
# package name frame
|
||||
self.labPackage = Label(self, text="packageName:")
|
||||
self.strPackage=StringVar()
|
||||
self.strPackage.set("com.MyCompany.AwesomeGame")
|
||||
self.editPackage = Entry(self, textvariable=self.strPackage)
|
||||
self.labPackage.grid(row=1, column=0,sticky=W, padx=5)
|
||||
self.editPackage.grid(row=1, column=1, columnspan=3,padx=5, pady=2,sticky=E+W)
|
||||
|
||||
# project path frame
|
||||
self.labPath = Label(self, text="projectPath:")
|
||||
self.editPath = Entry(self)
|
||||
self.btnPath = Button(self, text="...", width = 6, command = self.pathCallback)
|
||||
self.labPath.grid(row=2, column=0,sticky=W, pady=4, padx=5)
|
||||
self.editPath.grid(row=2, column=1, columnspan=3,padx=5, pady=2, sticky=E+W)
|
||||
self.btnPath.grid(row=2, column=4,)
|
||||
|
||||
# language frame
|
||||
self.labLanguage = Label(self, text="language:")
|
||||
self.var=IntVar()
|
||||
self.var.set(1)
|
||||
self.checkcpp = Radiobutton(self, text="cpp", variable=self.var, value=1)
|
||||
self.checklua = Radiobutton(self, text="lua", variable=self.var, value=2)
|
||||
self.checkjs = Radiobutton(self, text="javascript", variable=self.var, value=3)
|
||||
self.labLanguage.grid(row=3, column=0,sticky=W, padx=5)
|
||||
self.checkcpp.grid(row=3, column=1,sticky=N+W)
|
||||
self.checklua.grid(row=3, column=2,padx=5,sticky=N+W)
|
||||
self.checkjs.grid(row=3, column=3,padx=5,sticky=N+W)
|
||||
|
||||
# show progress
|
||||
self.progress = Scale(self, state= DISABLED, from_=0, to=100, orient=HORIZONTAL)
|
||||
self.progress.set(0)
|
||||
self.progress.grid(row=4, column=0, columnspan=4,padx=5, pady=2,sticky=E+W+S+N)
|
||||
|
||||
# msg text frame
|
||||
self.text=Text(self,background = '#d9efff')
|
||||
self.text.bind("<KeyPress>", lambda e : "break")
|
||||
self.text.grid(row=5, column=0, columnspan=4, rowspan=1, padx=5, sticky=E+W+S+N)
|
||||
|
||||
# new project button
|
||||
self.btnCreate = Button(self, text="create", command = self.createBtnCallback)
|
||||
self.btnCreate.grid(row=7, column=3, columnspan=1, rowspan=1,pady=2,ipadx=15,ipady =10, sticky=W)
|
||||
|
||||
#center window on desktop
|
||||
curWidth = 500
|
||||
curHeight = 450
|
||||
scnWidth = self.parent.winfo_screenwidth()
|
||||
scnHeight = self.parent.winfo_screenheight()
|
||||
tmpcnf = '%dx%d+%d+%d'%(curWidth, curHeight, int((scnWidth-curWidth)/2), int((scnHeight-curHeight)/2))
|
||||
self.parent.geometry(tmpcnf)
|
||||
self.parent.title("CocosCreateProject")
|
||||
|
||||
#fix size
|
||||
#self.parent.maxsize(curWidth, curHeight)
|
||||
#self.parent.minsize(curWidth, curHeight)
|
||||
|
||||
#redirect out to text
|
||||
self.pack(fill=BOTH, expand=1)
|
||||
sys.stdout = StdoutRedirector(self.text)
|
||||
|
||||
def process_queue(self):
|
||||
"""
|
||||
"""
|
||||
#message is empty
|
||||
if self.queue.empty():
|
||||
self.parent.after(100, self.process_queue)
|
||||
return
|
||||
|
||||
#parse message
|
||||
msg = self.queue.get(0)
|
||||
msglist = msg.split("@")
|
||||
if len(msglist) < 4:
|
||||
return
|
||||
|
||||
#begin
|
||||
if msglist[0] == "begin":
|
||||
self.progress['state'] = NORMAL
|
||||
#doing
|
||||
elif msglist[0] == "doing":
|
||||
pass
|
||||
|
||||
self.progress.set(int(int(msglist[1])*100/int(msglist[2])))
|
||||
#end
|
||||
if msglist[0] == "end":
|
||||
showwarning("create", msglist[3])
|
||||
self.progress.set(0)
|
||||
self.text.insert(END,"=================END==============\n")
|
||||
self.progress['state'] = DISABLED
|
||||
self.btnCreate['state'] = NORMAL
|
||||
return
|
||||
self.parent.after(100, self.process_queue)
|
||||
|
||||
def createBtnCallback(self):
|
||||
"""Create button event.
|
||||
"""
|
||||
#Check project name
|
||||
projectName = self.editName.get()
|
||||
if projectName == "":
|
||||
showwarning("warning", "projectName is empty")
|
||||
return
|
||||
|
||||
#Check the package name is effective
|
||||
packageName = self.editPackage.get()
|
||||
packageList = packageName.split(".")
|
||||
if len(packageList) < 2:
|
||||
showwarning("warning", "packageName format error!")
|
||||
return
|
||||
for index in range(len(packageList)):
|
||||
if (packageList[index] == "") or (packageList[index][0].isdigit()):
|
||||
showwarning("warning", "packageName format error!")
|
||||
return
|
||||
|
||||
# get select language type
|
||||
language = "cpp"
|
||||
if self.var.get() == 1:
|
||||
language = "cpp"
|
||||
elif self.var.get() == 2:
|
||||
language = "lua"
|
||||
elif self.var.get() == 3:
|
||||
language = "javascript"
|
||||
|
||||
projectPath = self.editPath.get()
|
||||
if projectPath == "":
|
||||
showwarning("warning", "projectPath is empty")
|
||||
return
|
||||
|
||||
# if project has already exist,....
|
||||
if os.path.exists(os.path.join(projectPath, projectName)):
|
||||
if not askyesno("warning", "%s had exist,do you want to recreate!" %projectName ):
|
||||
return
|
||||
|
||||
#create a new thread to deal with create new project.
|
||||
self.btnCreate['state'] = DISABLED
|
||||
self.queue = Queue()
|
||||
ThreadedTask(self.queue, projectName, packageName, language, projectPath).start()
|
||||
self.parent.after(100, self.process_queue)
|
||||
|
||||
def pathCallback(self):
|
||||
"""Paht button event.
|
||||
"""
|
||||
filepath = askdirectory()
|
||||
if filepath:
|
||||
self.editPath.delete(0, END)
|
||||
self.editPath.insert(0, filepath)
|
||||
|
||||
def createTkCocosDialog():
|
||||
|
||||
old_stdout = sys.stdout
|
||||
root = Tk()
|
||||
app = TkCocosDialog(root)
|
||||
root.mainloop()
|
||||
sys.stdout = old_stdout
|
||||
|
||||
if __name__ =='__main__':
|
||||
createTkCocosDialog()
|
|
@ -76,12 +76,6 @@ elif [ "$PLATFORM"x = "linux"x ]; then
|
|||
cd linux-build
|
||||
cmake ../..
|
||||
make -j10
|
||||
cd ../../template/multi-platform-cpp
|
||||
cmake .
|
||||
make -j10
|
||||
cd ../multi-platform-lua
|
||||
cmake .
|
||||
make -j10
|
||||
|
||||
elif [ "$PLATFORM"x = "emscripten"x ]; then
|
||||
# Generate binding glue codes
|
||||
|
|
Loading…
Reference in New Issue