Hey Urs, 2009/4/17 Urs Stotz <[email protected]>: > hi all, > > I try to build wt on Solaris 10 (sparc) with Sun C++ 5.9. > For this the compiler and linker flags: -library=stlport4 is required > (the compiler/linker default is broken for modern C++ code). > I try to run cmake with: > -DCMAKE_CXX_FLAGS=-library=stlport4 > -DCMAKE_EXE_LINKER_FLAGS=-library=stlport4 > -DCMAKE_MODULE_LINKER_FLAGS=-library=stlport4 > -DCMAKE_SHARED_LINKER_FLAGS=-library=stlport4 > to set this flags to the compiler and linker flags. > But this is not possible with the commandline of cmake. > It is only possible in the advanced mode in the interactive > configuration of the project with cmake. > For my automatic builds, I need to pass in this flags by commandline > > What is wrong?
I recently stumbled over this cmake oddity as well. For reasons I do not understand, the following syntax is needed for these options: -DCMAKE_CXX_FLAGS:STRING='...' Regards, koen ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
