On Wednesday 07 November 2007, Matthew McCormick wrote: > > > Hi, > > > > > > Having difficulty changing the object file extension. In my > > > CMakeLists.txtI have > > > > > > SET(CMAKE_C_OUTPUT_EXTENSION ".obj") > > > SET(CMAKE_CXX_OUTPUT_EXTENSION ".obj") > > > > > > but I still get *.o object files. > > > > Yes, that's too late in the cmake language setup process. What do you > > need that for ? > > > > Alex > > I'm trying to work with a compiler where you cannot specify the object > extension, the Matlab mex (pseudo) compiler. > I tried this, > > $ CMAKE_C_OUTPUT_EXTENSION=".obj" CMAKE_CXX_OUTPUT_EXTENSION=".obj" ccmake > ../convert_visualsonics_2_mat_src/ > > but it didn't work.
Yes, this doesn't work. I know that Matlab has this mex compiler what does it exactly do ? Maybe you need to add a file to cmake so it can handle this compiler. Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
