Am Donnerstag 19 Februar 2009 07:07:27 schrieb Birju Prajapati:
> > -Original Message-
> > From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
> > Behalf Of Hendrik Sattler
> > Sent: 18 February 2009 19:18
> > To: cmake@cmake.org
> > S
> -Original Message-
> From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
> Behalf Of Hendrik Sattler
> Sent: 18 February 2009 19:18
> To: cmake@cmake.org
> Subject: Re: [CMake] 64bit linking on linux
> architecture.
>
> Having a 64bit system wi
Am Mittwoch 18 Februar 2009 15:52:18 schrieb Bill Hoffman:
> That is not the preferable way to do this. As it hard codes flags into
> the CMake file. The way I would do it is:
>
> export CXXFLAGS=-m64
> export CFLAGS=-m64
> export LDFLAGS=-m64
>
> cmake ../myproject
>
> If those environment varia
Aaron Turner wrote:
That is not the preferable way to do this. As it hard codes flags into the
CMake file. The way I would do it is:
export CXXFLAGS=-m64
export CFLAGS=-m64
export LDFLAGS=-m64
cmake ../myproject
If those environment variables are set BEFORE you run cmake, then cmake will
On Wed, Feb 18, 2009 at 6:52 AM, Bill Hoffman wrote:
> Birju Prajapati wrote:
>>
>> I've figured it out. I added the following lines into the root
>> CMakeLists.txt file:
>>
>>
>> SET(CMAKE_CXX_FLAGS "-m64")
>>
>> SET(CMAKE_C_FLAGS "-m64")
>>
>> SET(CMAKE_EXE_LINKER_FLAGS "-m64")
>>
>> SET(CMAKE_M
Birju Prajapati wrote:
I’ve figured it out. I added the following lines into the root
CMakeLists.txt file:
SET(CMAKE_CXX_FLAGS "-m64")
SET(CMAKE_C_FLAGS "-m64")
SET(CMAKE_EXE_LINKER_FLAGS "-m64")
SET(CMAKE_MODULE_LINKER_FLAGS "-m64")
SET(CMAKE_SHARED_LINKER_FLAGS "-m64")
That is no
On Behalf
Of Birju Prajapati
Sent: 18 February 2009 13:32
To: cmake@cmake.org
Subject: [CMake] 64bit linking on linux
Hi,
I have a simple CMakeLists.txt file, in a directory called 'multicast':
cmake_minimum_required(VERSION 2.6)
include_directories(../.. /usr/local
Hi,
I have a simple CMakeLists.txt file, in a directory called 'multicast':
cmake_minimum_required(VERSION 2.6)
include_directories(../.. /usr/local/include/boost-1_38)
add_library(spreadx_multicast SHARED Message.cpp MulticastChannel.cpp)
This successfully gives me a 64 bit .so:
bi.