"Fossies" - the Fresh Open Source Software Archive

Member "mariadb-connector-c-3.0.8-src/cmake/linux_x86_toolchain.cmake" (18 Dec 2018, 557 Bytes) of package /linux/misc/mariadb-connector-c-3.0.8-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 #  Copyright (C) 2013-2016 MariaDB Corporation AB
    3 #
    4 #  Redistribution and use is allowed according to the terms of the New
    5 #  BSD license.
    6 #  For details see the COPYING-CMAKE-SCRIPTS file.
    7 #
    8 # toolchain file for building a 32bit version on a 64bit host
    9 
   10 # Usage:
   11 # cmake -DCMAKE_TOOLCHAIN_FILE=linux_86.toolchain.cmake 
   12 
   13 set(CMAKE_SYSTEM_NAME Linux)
   14 set(CMAKE_SYSTEM_VERSION 1)
   15 set(CMAKE_SYSTEM_PROCESSOR "i686")
   16 
   17 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" CACHE STRING "c++ flags")
   18 set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -m32" CACHE STRING "c flags")