On 03/13/2010 01:03 PM, Mateusz Loskot wrote:
Michael Surette wrote:
I am updating the CMake build files for a cross-platform project. One
of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If
it's not found the code generates its own function by that name.
This
Hi,
I use ADD_CUSTOM_COMMAND() to generate a header file in one directory.
That header file is included from a source file in another directory,
which is then aggregated into a library. The dependency is stated via
an OBJECT_DEPENDS property. Like,
in one directory 'generated-headers',
On Sunday 14 March 2010, joerg.faschingba...@aon.at wrote:
Hi,
I use ADD_CUSTOM_COMMAND() to generate a header file in one directory.
That header file is included from a source file in another directory,
which is then aggregated into a library. The dependency is stated via
an OBJECT_DEPENDS
I often build with
export CC='gcc -g -fvisibility=hidden
export CXX='g++ -g -fvisibility=hidden'
and
export FC='gfortran -g -fvisibility=hidden'
but recently this has quit working because CMake fails to add
the necessary -fPIC flag to shared library builds.
Sorry I don't know the last CMake
Alan W. Irwin wrote:
I often build with
export CC='gcc -g -fvisibility=hidden
export CXX='g++ -g -fvisibility=hidden'
and
export FC='gfortran -g -fvisibility=hidden'
but recently this has quit working because CMake fails to add the
necessary -fPIC flag to shared library builds.
Sorry I
On 2010-03-14 15:28-0400 Bill Hoffman wrote:
Perhaps adding the flags causes the compiler to be mis-identified somehow.
Can you run with the gcc -g -fvisibility=hidden, and without on a very simple
C only project. Then send me the binary trees from both. I am suspecting
there will be some
On 03/14/2010 06:14 AM, Michael Wild wrote:
On 03/13/2010 01:03 PM, Mateusz Loskot wrote:
Michael Surette wrote:
I am updating the CMake build files for a cross-platform project. One
of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If
it's not found the code generates