~ubuntu-branches/ubuntu/raring/clucene-core/raring-proposed

« back to all changes in this revision

Viewing changes to cmake/Toolchain-g++32.cmake

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2012-08-11 09:33:38 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120811093338-fgrx41ftqew3qt6a
Tags: 2.3.3.4-1
* New upstream release (Closes: #661703).
* Convert package to multiarch.
* Drop obsolete patches:
  - 01_add_missing_include_bug505667.diff
  - 02_posixness_fix_bug530308.diff
* Add patches:
  - Fixing_ZLIB_configuration_in_shared_CMakeLists.patch
  - Fix-pkgconfig-file-by-adding-clucene-shared-library.patch
  - Install-contribs-lib.patch
  - multiarch.patch
* Update debian/compat: bump to 8.
* Update debian/control:
  - update build dependencies (add cmake, libboost-dev and libz-dev).
  - bump Standards-Version to 3.9.3.
  - rename packages due to ABI bump: libclucene0ldbl -> libclucene-core1.
  - add libclucene-contribs1 package.
* Update debian/rules:
  - rewrite to use CMake.
  - add multiarch support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Cross compiling from linux using g++-multilib to create 32 bit output
 
2
# On ubuntu, you'll need to install the packages: g++-multilib gcc-multilib
 
3
#
 
4
# Use of this file:
 
5
# cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-g++32.cmake ..
 
6
 
 
7
SET(CMAKE_CXX_FLAGS "-m32")
 
8
SET(CMAKE_C_FLAGS "-m32")
 
9
SET(CMAKE_EXE_LINKER_FLAGS "-m32")
 
10
SET(CMAKE_MODULE_LINKER_FLAGS "-m32")
 
11
 
 
12
# here is the target environment located
 
13
SET(CMAKE_FIND_ROOT_PATH  /usr/lib32 )
 
14
 
 
15
# adjust the default behaviour of the FIND_XXX() commands:
 
16
# search headers and libraries in the target environment, search 
 
17
# programs in the host environment
 
18
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
 
19
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
 
20