Dieter Rosch wrote:
> I've finally had time to play with this a bit.
> 
> It turns out that in cmake-2.6.1/Modules/Platform/AIX.cmake, the following
> line is missing
> 
>   SET(CMAKE_C_COMPILE_OBJECT
>     "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")

That is supposed to be set by default in Modules/CMakeCInformation.cmake:

IF(NOT CMAKE_C_COMPILE_OBJECT)
  SET(CMAKE_C_COMPILE_OBJECT
    "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -o <OBJECT>   -c <SOURCE>")
ENDIF(NOT CMAKE_C_COMPILE_OBJECT)

The only reason the CXX one is set is because it differs from the
default.  There is an extensive "Preprocess" test that passes on all
platforms, including AIX.  Something else is going on.

Can you please post an example CMakeLists.txt file that reproduces the
problem?

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to