[Tizen] Add release configuration. Set -O1 flag instead -O3 because of compiler error.

This commit is contained in:
Sergey Pisarchik 2014-06-18 00:34:00 +03:00 committed by Alex Zolotarev
parent 7a5f6b7f35
commit ab21befe8c
4 changed files with 192 additions and 142 deletions

View file

@ -115,12 +115,21 @@ unix|win32-g++ {
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-conversion
}
tizen{
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE += -O1
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -O1
QMAKE_CFLAGS_RELEASE *= -ffast-math
QMAKE_CXXFLAGS_RELEASE *= -ffast-math
} else {
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE += -O3
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_CFLAGS_RELEASE *= -ffast-math
QMAKE_CXXFLAGS_RELEASE *= -ffast-math
}
}

View file

@ -170,141 +170,6 @@
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="org.tizen.nativecpp.config.sbi.gcc45.app.release.810675230">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecpp.config.sbi.gcc45.app.release.810675230" 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.MakeErrorParser" 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 artifactExtension="exe" artifactName="${ProjName}" buildArtefactType="org.tizen.nativecpp.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecpp.buildArtefactType.app" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecpp.config.sbi.gcc45.app.release.810675230" name="Release" parent="org.tizen.nativecpp.config.sbi.gcc45.app.release">
<folderInfo id="org.tizen.nativecpp.config.sbi.gcc45.app.release.810675230." name="/" resourcePath="">
<toolChain id="org.tizen.nativecpp.toolchain.sbi.gcc45.app.release.1366019711" name="Tizen Native Toolchain" superClass="org.tizen.nativecpp.toolchain.sbi.gcc45.app.release">
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1912600451" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
<builder buildPath="${workspace_loc:/MapsWithMe/Release}" id="org.tizen.nativecpp.target.sbi.gnu.builder.498079351" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecpp.target.sbi.gnu.builder"/>
<tool id="org.tizen.nativecpp.tool.sbi.gnu.archiver.807143938" name="Archiver" superClass="org.tizen.nativecpp.tool.sbi.gnu.archiver"/>
<tool command="clang++" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler.1494500120" name="C++ Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.1777973049" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
<option id="sbi.gnu.cpp.compiler.option.debugging.level.1599352609" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level"/>
<option id="sbi.gnu.cpp.compiler.option.debug.applog.891596111" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.cpp.compiler.option.debug.applog"/>
<option id="sbi.gnu.cpp.compiler.option.53971038" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
<listOptionValue builtIn="false" value="tizen-emulator-2.2.native_llvm31.i386.cpp.app"/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp.1495383943" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
<listOptionValue builtIn="false" value="&quot;/Users/Sergey/tizen-sdk/library&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/osp&quot;"/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp.659056196" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp" valueType="stringList">
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain /Users/Sergey/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
<listOptionValue builtIn="false" value=" -fPIE"/>
<listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
</option>
<option id="gnu.cpp.compiler.option.include.paths.1943842362" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks.cpp.751024294" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.cpp" valueType="userObjs">
<listOptionValue builtIn="false" value="osp"/>
</option>
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.615940846" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
</tool>
<tool command="clang" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.2003413631" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.887382782" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
<option id="sbi.gnu.c.compiler.option.debugging.level.328593339" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level"/>
<option id="sbi.gnu.c.compiler.option.debug.applog.1720050520" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.c.compiler.option.debug.applog"/>
<option id="sbi.gnu.c.compiler.option.739683395" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
<listOptionValue builtIn="false" value="tizen-emulator-2.2.native_llvm31.i386.cpp.app"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks_inc.cpp.506424161" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.cpp" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
<listOptionValue builtIn="false" value="&quot;/Users/Sergey/tizen-sdk/library&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/osp&quot;"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks_cflags.cpp.570623014" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.cpp" valueType="stringList">
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain /Users/Sergey/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
<listOptionValue builtIn="false" value=" -fPIE"/>
<listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
</option>
<option id="gnu.c.compiler.option.include.paths.118210236" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks.cpp.287554098" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.cpp" valueType="userObjs">
<listOptionValue builtIn="false" value="osp"/>
</option>
<inputType id="sbi.gnu.c.compiler.tizen.inputType.772824575" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
</tool>
<tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.891529875" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
<tool command="clang++" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker.202011237" name="C++ Linker" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker">
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.318343183" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain /Users/Sergey/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
<listOptionValue builtIn="false" value="-Xlinker -rpath=&quot;/opt/usr/apps/3BMaQARPoL/lib&quot;"/>
<listOptionValue builtIn="false" value="-Xlinker -rpath=&quot;/home/developer/sdk_tools/lib&quot;"/>
<listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
<listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib&quot;"/>
<listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib/osp&quot;"/>
<listOptionValue builtIn="false" value="-losp-uifw"/>
<listOptionValue builtIn="false" value="-losp-appfw"/>
<listOptionValue builtIn="false" value="-losp-image"/>
<listOptionValue builtIn="false" value="-losp-json"/>
<listOptionValue builtIn="false" value="-losp-ime"/>
<listOptionValue builtIn="false" value="-losp-net"/>
<listOptionValue builtIn="false" value="-lpthread"/>
<listOptionValue builtIn="false" value="-losp-content"/>
<listOptionValue builtIn="false" value="-losp-locations"/>
<listOptionValue builtIn="false" value="-losp-telephony"/>
<listOptionValue builtIn="false" value="-losp-uix"/>
<listOptionValue builtIn="false" value="-losp-media"/>
<listOptionValue builtIn="false" value="-losp-messaging"/>
<listOptionValue builtIn="false" value="-losp-web"/>
<listOptionValue builtIn="false" value="-losp-social"/>
<listOptionValue builtIn="false" value="-losp-wifi"/>
<listOptionValue builtIn="false" value="-losp-bluetooth"/>
<listOptionValue builtIn="false" value="-losp-nfc"/>
<listOptionValue builtIn="false" value="-losp-face"/>
<listOptionValue builtIn="false" value="-losp-secure-element"/>
<listOptionValue builtIn="false" value="-losp-speech-tts"/>
<listOptionValue builtIn="false" value="-losp-speech-stt"/>
<listOptionValue builtIn="false" value="-losp-shell"/>
<listOptionValue builtIn="false" value="-losp-shell-core"/>
<listOptionValue builtIn="false" value="-losp-vision"/>
<listOptionValue builtIn="false" value="-lxml2"/>
<listOptionValue builtIn="false" value="-lalut"/>
<listOptionValue builtIn="false" value="-lopenal"/>
</option>
<option id="gnu.cpp.link.option.paths.1345254065" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/lib}&quot;"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1974392343" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1787284418" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1524935768" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
<tool id="org.tizen.nativecpp.tool.sbi.po.compiler.1790315092" name="PO Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.po.compiler"/>
<tool id="org.tizen.nativecpp.tool.sbi.edc.compiler.1172469490" name="EDC Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.edc.compiler"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="org.tizen.nativecpp.config.sbi.gcc45.app.debug.da.1210046950">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecpp.config.sbi.gcc45.app.debug.da.1210046950" moduleId="org.eclipse.cdt.core.settings" name="Dynamic Analyzer">
<externalSettings/>
@ -621,15 +486,193 @@
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="org.tizen.nativecpp.config.sbi.gcc45.app.debug.1818098733.970161470.979429282">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecpp.config.sbi.gcc45.app.debug.1818098733.970161470.979429282" moduleId="org.eclipse.cdt.core.settings" name="Release_debug_2">
<macros>
<stringMacro name="omim_lib_incude" type="VALUE_TEXT" value="/Users/Sergey/GitHub/omim-tizen-device-release2"/>
</macros>
<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.MakeErrorParser" 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 artifactExtension="exe" artifactName="MapsWithMe" buildArtefactType="org.tizen.nativecpp.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecpp.buildArtefactType.app" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecpp.config.sbi.gcc45.app.debug.1818098733.970161470.979429282" name="Release_debug_2" parent="org.tizen.nativecpp.config.sbi.gcc45.app.debug">
<folderInfo id="org.tizen.nativecpp.config.sbi.gcc45.app.debug.1818098733.970161470.979429282." name="/" resourcePath="">
<toolChain id="org.tizen.nativecpp.toolchain.sbi.gcc45.app.debug.1804803468" name="Tizen Native Toolchain" superClass="org.tizen.nativecpp.toolchain.sbi.gcc45.app.debug">
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1526619139" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
<builder autoBuildTarget="all" buildPath="${workspace_loc:/MapsWithMe/Debug}" enableAutoBuild="true" id="org.tizen.nativecpp.target.sbi.gnu.builder.678294178" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecpp.target.sbi.gnu.builder"/>
<tool id="org.tizen.nativecpp.tool.sbi.gnu.archiver.652671079" name="Archiver" superClass="org.tizen.nativecpp.tool.sbi.gnu.archiver"/>
<tool command="clang++" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler.1794920512" name="C++ Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.1010080021" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.optimize" valueType="enumerated"/>
<option id="sbi.gnu.cpp.compiler.option.debugging.level.996535607" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
<option id="sbi.gnu.cpp.compiler.option.debug.applog.158836172" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.cpp.compiler.option.debug.applog" value="true" valueType="boolean"/>
<option id="sbi.gnu.cpp.compiler.option.603838613" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
<listOptionValue builtIn="false" value="tizen-device-2.2.native_llvm31.armel.cpp.app"/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp.1918228721" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
<listOptionValue builtIn="false" value="&quot;/Users/Sergey/tizen-sdk/library&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/osp&quot;"/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp.126735600" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp" valueType="stringList">
<listOptionValue builtIn="false" value="-target arm-tizen-linux-gnueabi -gcc-toolchain /Users/Sergey/tizen-sdk/tools/smart-build-interface/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
<listOptionValue builtIn="false" value=" -fPIE"/>
<listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
</option>
<option id="gnu.cpp.compiler.option.include.paths.1454128867" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
<listOptionValue builtIn="false" value=""/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks.cpp.1118481732" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.cpp" valueType="userObjs">
<listOptionValue builtIn="false" value="osp"/>
</option>
<option id="gnu.cpp.compiler.option.preprocessor.def.1902897750" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
<listOptionValue builtIn="false" value="RELEASE"/>
<listOptionValue builtIn="false" value="_RELEASE"/>
<listOptionValue builtIn="false" value="OMIM_OS_TIZEN"/>
</option>
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.1758633388" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
</tool>
<tool command="clang" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.1375293633" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1742095234" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" value="gnu.c.optimization.level.optimize" valueType="enumerated"/>
<option id="sbi.gnu.c.compiler.option.debugging.level.520466608" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
<option id="sbi.gnu.c.compiler.option.debug.applog.849244452" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.c.compiler.option.debug.applog" value="true" valueType="boolean"/>
<option id="sbi.gnu.c.compiler.option.1127606014" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
<listOptionValue builtIn="false" value="tizen-device-2.2.native_llvm31.armel.cpp.app"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks_inc.cpp.1879646120" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.cpp" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
<listOptionValue builtIn="false" value="&quot;/Users/Sergey/tizen-sdk/library&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/osp&quot;"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks_cflags.cpp.1982667099" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.cpp" valueType="stringList">
<listOptionValue builtIn="false" value="-target arm-tizen-linux-gnueabi -gcc-toolchain /Users/Sergey/tizen-sdk/tools/smart-build-interface/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
<listOptionValue builtIn="false" value=" -fPIE"/>
<listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
</option>
<option id="gnu.c.compiler.option.include.paths.850705629" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks.cpp.333417113" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.cpp" valueType="userObjs">
<listOptionValue builtIn="false" value="osp"/>
</option>
<option id="gnu.c.compiler.option.preprocessor.def.symbols.29321359" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="_DEBUG"/>
</option>
<inputType id="sbi.gnu.c.compiler.tizen.inputType.192967031" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
</tool>
<tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.170195482" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
<tool command="clang++" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker.965136279" name="C++ Linker" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker">
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.1601079454" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
<listOptionValue builtIn="false" value="-target arm-tizen-linux-gnueabi -gcc-toolchain /Users/Sergey/tizen-sdk/tools/smart-build-interface/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
<listOptionValue builtIn="false" value="-Xlinker -rpath=&quot;/opt/usr/apps/3BMaQARPoL/lib&quot;"/>
<listOptionValue builtIn="false" value="-Xlinker -rpath=&quot;/home/developer/sdk_tools/lib&quot;"/>
<listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
<listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib&quot;"/>
<listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib/osp&quot;"/>
<listOptionValue builtIn="false" value="-losp-uifw"/>
<listOptionValue builtIn="false" value="-losp-appfw"/>
<listOptionValue builtIn="false" value="-losp-image"/>
<listOptionValue builtIn="false" value="-losp-json"/>
<listOptionValue builtIn="false" value="-losp-ime"/>
<listOptionValue builtIn="false" value="-losp-net"/>
<listOptionValue builtIn="false" value="-lpthread"/>
<listOptionValue builtIn="false" value="-losp-content"/>
<listOptionValue builtIn="false" value="-losp-locations"/>
<listOptionValue builtIn="false" value="-losp-telephony"/>
<listOptionValue builtIn="false" value="-losp-uix"/>
<listOptionValue builtIn="false" value="-losp-media"/>
<listOptionValue builtIn="false" value="-losp-messaging"/>
<listOptionValue builtIn="false" value="-losp-web"/>
<listOptionValue builtIn="false" value="-losp-social"/>
<listOptionValue builtIn="false" value="-losp-wifi"/>
<listOptionValue builtIn="false" value="-losp-bluetooth"/>
<listOptionValue builtIn="false" value="-losp-nfc"/>
<listOptionValue builtIn="false" value="-losp-face"/>
<listOptionValue builtIn="false" value="-losp-secure-element"/>
<listOptionValue builtIn="false" value="-losp-speech-tts"/>
<listOptionValue builtIn="false" value="-losp-shell"/>
<listOptionValue builtIn="false" value="-losp-shell-core"/>
<listOptionValue builtIn="false" value="-losp-speech-stt"/>
<listOptionValue builtIn="false" value="-losp-vision"/>
<listOptionValue builtIn="false" value="-lxml2"/>
<listOptionValue builtIn="false" value="-lalut"/>
<listOptionValue builtIn="false" value="-lopenal"/>
</option>
<option id="gnu.cpp.link.option.paths.1022457367" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/lib}&quot;"/>
</option>
<option id="gnu.cpp.link.option.userobjs.16359990" name="Other objects" superClass="gnu.cpp.link.option.userobjs" valueType="userObjs">
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libmap.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libsearch.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libgui.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libgraphics.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libstorage.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libanim.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libplatform.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libindexer.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libgeometry.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libcoding.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libbase.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libexpat.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libfreetype.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libfribidi.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libzlib.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libbzip2.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libjansson.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libtomcrypt.a"/>
<listOptionValue builtIn="false" value="${omim_lib_incude}/out/release/libprotobuf.a"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1361182776" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool command="arm-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.2021395911" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.634535588" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
<tool id="org.tizen.nativecpp.tool.sbi.po.compiler.991319349" name="PO Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.po.compiler"/>
<tool id="org.tizen.nativecpp.tool.sbi.edc.compiler.1242233538" name="EDC Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.edc.compiler"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="MapsWithMe.org.tizen.nativecpp.target.sbi.gcc45.app.415202690" name="Tizen Application" projectType="org.tizen.nativecpp.target.sbi.gcc45.app"/>
</storageModule>
<storageModule moduleId="refreshScope" versionNumber="1">
<resource resourceType="PROJECT" workspacePath="/MapsWithMe"/>
</storageModule>
<storageModule moduleId="com.samsung.tizen.nativeapp.projectInfo" version="1.0.0"/>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.app.debug.1818098733.970161470">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.app.release.810675230">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.app.debug.1818098733.970161470.979429282">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.app.debug.da.1210046950">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
</scannerConfigBuildInfo>
@ -637,6 +680,4 @@
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="refreshScope"/>
<storageModule moduleId="com.samsung.tizen.nativeapp.projectInfo" version="1.0.0"/>
</cproject>

View file

@ -150,8 +150,8 @@ QMAKE_STREAM_EDITOR = sed
# you can use the manual test in tests/manual/mkspecs.
#
QMAKE_CFLAGS_OPTIMIZE = -O2
QMAKE_CFLAGS_OPTIMIZE_FULL = -O3
QMAKE_CFLAGS_OPTIMIZE = -O1
QMAKE_CFLAGS_OPTIMIZE_FULL = -O1
QMAKE_CFLAGS += -pipe
QMAKE_CFLAGS_DEPS += -M
@ -273,13 +273,13 @@ QMAKE_LINK = $${QMAKE_CXX}
QMAKE_LINK_SHLIB = $${QMAKE_CXX}
# TODO: fix paths
QMAKE_CFLAGS += -g -Wall -c --sysroot="$${TIZEN_SDK_PATH}/platforms/tizen2.2/rootstraps/tizen-emulator-2.2.native"
QMAKE_CFLAGS += -g -Wall -c --sysroot="$${TIZEN_SDK_PATH}/platforms/tizen2.2/rootstraps/tizen-device-2.2.native"
QMAKE_CFLAGS += -I"$${TIZEN_PLATFORM_PATH}/usr/include"
QMAKE_CFLAGS += -I"$${TIZEN_PLATFORM_PATH}/usr/include/osp"
QMAKE_CFLAGS += -I"$${TIZEN_PLATFORM_PATH}/usr/include/libxml2"
# TODO: fix paths
QMAKE_CFLAGS_RELEASE += -O3
QMAKE_CFLAGS_RELEASE += -O1
QMAKE_CFLAGS_DEBUG += -O0
QMAKE_CFLAGS += $${TIZEN_QMAKE_CFLAGS}

View file

@ -13,5 +13,5 @@ QMAKE_AR = $${TIZEN_SDK_PATH}/tools/arm-linux-gnueabi-gcc-4.5/b
TIZEN_QMAKE_CFLAGS = -D_TIZEN_DEVICE
TIZEN_QMAKE_CFLAGS += -fmessage-length=0 -target arm-tizen-linux-gnueabi -gcc-toolchain $${TIZEN_SDK_PATH}/tools/arm-linux-gnueabi-gcc-4.5/
TIZEN_QMAKE_CFLAGS += -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu
TIZEN_QMAKE_CFLAGS += -D_APP_LOG
include(../common/tizen-common.conf)