etch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vei...@apache.org
Subject svn commit: r1679946 - /etch/trunk/binding-cpp/runtime/toolchains/
Date Mon, 18 May 2015 06:36:35 GMT
Author: veithm
Date: Mon May 18 06:36:35 2015
New Revision: 1679946

URL: http://svn.apache.org/r1679946
Log:
Write C/CXX Flags into CMake Cache

While passing the CMake Toolchain to external dependencies
like CAPU, the C/CXX Flags get lost in case they are not in the CMake cache.

Modified:
    etch/trunk/binding-cpp/runtime/toolchains/Linux_ARMv7l.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_64.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_64.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/QNX_X86_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_64.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARM64.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7S_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_32.toolchain
    etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_64.toolchain

Modified: etch/trunk/binding-cpp/runtime/toolchains/Linux_ARMv7l.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/Linux_ARMv7l.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/Linux_ARMv7l.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/Linux_ARMv7l.toolchain Mon May 18 06:36:35 2015
@@ -26,11 +26,11 @@ SET(CMAKE_C_COMPILER /opt/pb-a8/cross/ar
 SET(CMAKE_CXX_COMPILER /opt/pb-a8/cross/armv7a/bin/arm-angstrom-linux-gnueabi-g++)
 SET(CMAKE_LINKER /opt/pb-a8/cross/armv7a/bin/arm-angstrom-linux-gnueabi-ld)
 
-SET(CMAKE_C_FLAGS_DEBUG "-ggdb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -D_DEBUG")
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET(CMAKE_C_FLAGS_DEBUG "-ggdb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -D_DEBUG" CACHE
STRING "C Flags Debug" FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET(CMAKE_C_FLAGS_RELEASE "-O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -DNDEBUG")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET(CMAKE_C_FLAGS_RELEASE "-O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -DNDEBUG" CACHE
STRING "C Flags Release" FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release" FORCE)
 
 SET(CMAKE_FIND_ROOT_PATH /opt/pb-a8/staging/armv7a-angstrom-linux-gnueabi)
 

Modified: etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_32.toolchain Mon May 18 06:36:35 2015
@@ -22,11 +22,11 @@ SET(TARGET_OS Linux)
 SET(TARGET_ARCH X86_32)
 SET(TARGET_COMPILER GCC)
 
-SET(CMAKE_C_FLAGS_DEBUG "-m32 -ggdb -Wall -D_DEBUG")
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET(CMAKE_C_FLAGS_DEBUG "-m32 -ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET(CMAKE_C_FLAGS_RELEASE "-m32 -Wall -O3 -DNDEBUG")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET(CMAKE_C_FLAGS_RELEASE "-m32 -Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release" FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release" FORCE)
 
 add_definitions("-DTARGET_OS=Linux")
 add_definitions("-DTARGET_ARCH=X86_32")

Modified: etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_64.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_64.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_64.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/Linux_X86_64.toolchain Mon May 18 06:36:35 2015
@@ -22,11 +22,11 @@ SET(TARGET_OS Linux)
 SET(TARGET_ARCH X86_64)
 SET(TARGET_COMPILER GCC)
 
-SET(CMAKE_C_FLAGS_DEBUG "-m64 -ggdb -Wall -D_DEBUG")
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET(CMAKE_C_FLAGS_DEBUG "-m64 -ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET(CMAKE_C_FLAGS_RELEASE "-m64 -Wall -O3 -DNDEBUG")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET(CMAKE_C_FLAGS_RELEASE "-m64 -Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release" FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release" FORCE)
 
 add_definitions("-DTARGET_OS=Linux")
 add_definitions("-DTARGET_ARCH=X86_64")

Modified: etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_32.toolchain Mon May 18 06:36:35
2015
@@ -27,11 +27,11 @@ include(CMakeForceCompiler)
 CMAKE_FORCE_C_COMPILER(clang clang)
 CMAKE_FORCE_CXX_COMPILER(clang++ clang)
 
-SET(CMAKE_C_FLAGS_DEBUG "-m32 -arch i386 -ggdb -Wall -D_DEBUG")
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET(CMAKE_C_FLAGS_DEBUG "-m32 -arch i386 -ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug"
FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET(CMAKE_C_FLAGS_RELEASE "-m32 -arch i386 -Wall -O3 -DNDEBUG")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET(CMAKE_C_FLAGS_RELEASE "-m32 -arch i386 -Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release"
FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release" FORCE)
 
 add_definitions("-DTARGET_OS=MacOSX")
 add_definitions("-DTARGET_ARCH=X86_32")

Modified: etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_64.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_64.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_64.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/MacOSX_X86_64.toolchain Mon May 18 06:36:35
2015
@@ -25,11 +25,11 @@ include(CMakeForceCompiler)
 CMAKE_FORCE_C_COMPILER(clang clang)
 CMAKE_FORCE_CXX_COMPILER(clang++ clang)
 
-SET(CMAKE_C_FLAGS_DEBUG "-m64 -ggdb -Wall -D_DEBUG")
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET(CMAKE_C_FLAGS_DEBUG "-m64 -ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET(CMAKE_C_FLAGS_RELEASE "-m64 -Wall -O3 -DNDEBUG")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET(CMAKE_C_FLAGS_RELEASE "-m64 -Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release" FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release" FORCE)
 
 add_definitions("-DTARGET_OS=MacOSX")
 add_definitions("-DTARGET_ARCH=X86_64")

Modified: etch/trunk/binding-cpp/runtime/toolchains/QNX_X86_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/QNX_X86_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/QNX_X86_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/QNX_X86_32.toolchain Mon May 18 06:36:35 2015
@@ -66,14 +66,14 @@ MESSAGE(STATUS "using QNX_TARGET ${QNX_T
 #set c compiler and flags
 SET(CMAKE_C_COMPILER ${QNX_HOST}/usr/bin/nto${CMAKE_SYSTEM_PROCESSOR}-gcc${HOST_EXECUTABLE_SUFFIX})
 SET(CMAKE_C_FLAGS "-march=i486")
-SET(CMAKE_C_FLAGS_DEBUG "{CMAKE_C_FLAGS} -g -D_DEBUG")
-SET(CMAKE_C_FLAGS_RELEASE "{CMAKE_C_FLAGS} -O3 -DNDEBUG")
+SET(CMAKE_C_FLAGS_DEBUG "{CMAKE_C_FLAGS} -g -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET(CMAKE_C_FLAGS_RELEASE "{CMAKE_C_FLAGS} -O3 -DNDEBUG" CACHE STRING "CXX Flags Debug" FORCE)
 
 #set c++ compiler and flags
 SET(CMAKE_CXX_COMPILER "${QNX_HOST}/usr/bin/nto${CMAKE_SYSTEM_PROCESSOR}-g++${HOST_EXECUTABLE_SUFFIX}")
 SET(CMAKE_CXX_FLAGS "-march=i486")
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -D_DEBUG")
-SET(CMAKE_CXX_FLAGS_RELEASE "{CMAKE_CXX_FLAGS} -O3 -DNDEBUG")
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -D_DEBUG" CACHE STRING "C Flags Release"
FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "{CMAKE_CXX_FLAGS} -O3 -DNDEBUG" CACHE STRING "CXX Flags Release"
FORCE)
 
 #set linker
 SET(CMAKE_LINKER       "${QNX_HOST}/usr/bin/nto${CMAKE_SYSTEM_PROCESSOR}-ld${HOST_EXECUTABLE_SUFFIX}"
    CACHE PATH "QNX Linker Program")

Modified: etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_32.toolchain Mon May 18 06:36:35
2015
@@ -22,11 +22,11 @@ SET(TARGET_OS Windows)
 SET(TARGET_ARCH X86_32)
 SET(TARGET_COMPILER MSVC)
 
-SET(CMAKE_C_FLAGS_RELEASE "/MD /O2 /Ob2 /DNDEBUG /MP8 /GR-")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /W3 /WX")
+SET(CMAKE_C_FLAGS_RELEASE "/MD /O2 /Ob2 /DNDEBUG /MP8 /GR-" CACHE STRING "C Flags Debug"
FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /W3 /WX" CACHE STRING "CXX Flags Debug"
FORCE)
 
-SET(CMAKE_C_FLAGS_DEBUG "/MDd /Zi /Od /RTC1 /D_DEBUG /MP8" )
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /W3 /WX")
+SET(CMAKE_C_FLAGS_DEBUG "/MDd /Zi /Od /RTC1 /D_DEBUG /MP8" CACHE STRING "C Flags Release"
FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /W3 /WX" CACHE STRING "CXX Flags Release"
FORCE)
 
 add_definitions("-DTARGET_OS=Windows")
 add_definitions("-DTARGET_ARCH=X86_32")

Modified: etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_64.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_64.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_64.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/Windows_X86_64.toolchain Mon May 18 06:36:35
2015
@@ -22,11 +22,11 @@ SET(TARGET_OS Windows)
 SET(TARGET_ARCH X86_64)
 SET(TARGET_COMPILER MSVC)
 
-SET(CMAKE_C_FLAGS_RELEASE "/MD /O2 /Ob2 /DNDEBUG /MP8 /GR- ")
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /W3 /WX")
+SET(CMAKE_C_FLAGS_RELEASE "/MD /O2 /Ob2 /DNDEBUG /MP8 /GR- " CACHE STRING "C Flags Debug"
FORCE)
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /W3 /WX" CACHE STRING "CXX Flags Debug"
FORCE)
 
-SET(CMAKE_C_FLAGS_DEBUG "/MDd /Zi /Od /RTC1 /D_DEBUG /MP8" )
-SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /W3 /WX")
+SET(CMAKE_C_FLAGS_DEBUG "/MDd /Zi /Od /RTC1 /D_DEBUG /MP8" CACHE STRING "C Flags Release"
FORCE)
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /W3 /WX" CACHE STRING "CXX Flags Release"
FORCE)
 
 add_definitions("-DTARGET_OS=Windows")
 add_definitions("-DTARGET_ARCH=X86_64")

Modified: etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARM64.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARM64.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARM64.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARM64.toolchain Mon May 18 06:36:35
2015
@@ -40,11 +40,11 @@ SET (CMAKE_OSX_ARCHITECTURES "arm64")
 
 SET (CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos")
 
-SET (CMAKE_C_FLAGS_DEBUG "-ggdb -Wall -D_DEBUG")
-SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET (CMAKE_C_FLAGS_DEBUG "-ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET (CMAKE_C_FLAGS_RELEASE "-Wall -O3 -DNDEBUG")
-SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET (CMAKE_C_FLAGS_RELEASE "-Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release" FORCE)
+SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release"
FORCE)
 
 ADD_DEFINITIONS ("-DTARGET_OS=iPhoneOS")
 ADD_DEFINITIONS ("-DTARGET_ARCH=ARM64")

Modified: etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7S_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7S_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7S_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7S_32.toolchain Mon May 18 06:36:35
2015
@@ -40,11 +40,11 @@ SET (CMAKE_OSX_ARCHITECTURES "armv7s")
 
 SET (CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos")
 
-SET (CMAKE_C_FLAGS_DEBUG "-ggdb -Wall -D_DEBUG")
-SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET (CMAKE_C_FLAGS_DEBUG "-ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET (CMAKE_C_FLAGS_RELEASE "-Wall -O3 -DNDEBUG")
-SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET (CMAKE_C_FLAGS_RELEASE "-Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release" FORCE)
+SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release"
FORCE)
 
 ADD_DEFINITIONS ("-DTARGET_OS=iPhoneOS")
 ADD_DEFINITIONS ("-DTARGET_ARCH=ARMV7S")

Modified: etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/iPhoneOS_ARMV7_32.toolchain Mon May 18 06:36:35
2015
@@ -40,11 +40,11 @@ SET (CMAKE_OSX_ARCHITECTURES "armv7")
 
 SET (CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos")
 
-SET (CMAKE_C_FLAGS_DEBUG "-ggdb -Wall -D_DEBUG")
-SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET (CMAKE_C_FLAGS_DEBUG "-ggdb -Wall -D_DEBUG" CACHE STRING "C Flags Debug" FORCE)
+SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET (CMAKE_C_FLAGS_RELEASE "-Wall -O3 -DNDEBUG")
-SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET (CMAKE_C_FLAGS_RELEASE "-Wall -O3 -DNDEBUG" CACHE STRING "C Flags Release" FORCE)
+SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release"
FORCE)
 
 ADD_DEFINITIONS ("-DTARGET_OS=iPhoneOS")
 ADD_DEFINITIONS ("-DTARGET_ARCH=ARMV7")

Modified: etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_32.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_32.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_32.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_32.toolchain Mon May 18
06:36:35 2015
@@ -40,11 +40,11 @@ SET (CMAKE_OSX_ARCHITECTURES "i386")
 
 SET (CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphonesimulator")
 
-SET (CMAKE_C_FLAGS_DEBUG "-miphoneos-version-min=6.1 -ggdb -Wall -D_DEBUG")
-SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET (CMAKE_C_FLAGS_DEBUG "-miphoneos-version-min=6.1 -ggdb -Wall -D_DEBUG" CACHE STRING "C
Flags Debug" FORCE)
+SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET (CMAKE_C_FLAGS_RELEASE "-miphoneos-version-min=6.1 -Wall -O3 -DNDEBUG")
-SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET (CMAKE_C_FLAGS_RELEASE "-miphoneos-version-min=6.1 -Wall -O3 -DNDEBUG" CACHE STRING "C
Flags Release" FORCE)
+SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release"
FORCE)
 
 ADD_DEFINITIONS ("-DTARGET_OS=iPhoneSimulatorOS")
 ADD_DEFINITIONS ("-DTARGET_ARCH=X86_32")

Modified: etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_64.toolchain
URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_64.toolchain?rev=1679946&r1=1679945&r2=1679946&view=diff
==============================================================================
--- etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_64.toolchain (original)
+++ etch/trunk/binding-cpp/runtime/toolchains/iPhoneSimulatorOS_X86_64.toolchain Mon May 18
06:36:35 2015
@@ -40,11 +40,11 @@ SET (CMAKE_OSX_ARCHITECTURES "x86_64")
 
 SET (CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphonesimulator")
 
-SET (CMAKE_C_FLAGS_DEBUG "-miphoneos-version-min=6.1 -ggdb -Wall -D_DEBUG")
-SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
+SET (CMAKE_C_FLAGS_DEBUG "-miphoneos-version-min=6.1 -ggdb -Wall -D_DEBUG" CACHE STRING "C
Flags Debug" FORCE)
+SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE STRING "CXX Flags Debug" FORCE)
 
-SET (CMAKE_C_FLAGS_RELEASE "-miphoneos-version-min=6.1 -Wall -O3 -DNDEBUG")
-SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
+SET (CMAKE_C_FLAGS_RELEASE "-miphoneos-version-min=6.1 -Wall -O3 -DNDEBUG" CACHE STRING "C
Flags Release" FORCE)
+SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "CXX Flags Release"
FORCE)
 
 ADD_DEFINITIONS ("-DTARGET_OS=iPhoneSimulatorOS")
 ADD_DEFINITIONS ("-DTARGET_ARCH=X86_64")



Mime
View raw message