Re: [CMake] SS12 and -xcode=pic32

2008-10-28 Thread George Neill
On Tue, Oct 28, 2008 at 8:40 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > George Neill wrote: > >>> >>> To set the record straight for others reading this in the future, please >>> do >>> exactly what I suggested (which works) rather than trying something else. >>> > Actually, to set the record st

Re: [CMake] SS12 and -xcode=pic32

2008-10-28 Thread Bill Hoffman
George Neill wrote: To set the record straight for others reading this in the future, please do exactly what I suggested (which works) rather than trying something else. Actually, to set the record straight, your approach is not good in this case. It will, as George points out, use the pic f

Re: [CMake] SS12 and -xcode=pic32

2008-10-28 Thread George Neill
Alan, On Tue, Oct 28, 2008 at 1:00 AM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > On 2008-10-27 15:27-0500 George Neill wrote: > >> Alan, >> >> On Mon, Oct 27, 2008 at 3:10 PM, Alan W. Irwin >> <[EMAIL PROTECTED]> wrote: >>> >>> On 2008-10-27 12:54-0500 George Neill wrote: >>> Hi All, >>

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread Alan W. Irwin
On 2008-10-27 15:27-0500 George Neill wrote: Alan, On Mon, Oct 27, 2008 at 3:10 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: On 2008-10-27 12:54-0500 George Neill wrote: Hi All, I am using cmake 2.4.8 and Sun Studio 12. I am trying to overwrite these default cmake compiler settings from Mo

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread George Neill
Bill, On Mon, Oct 27, 2008 at 3:55 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > George Neill wrote: >> >>> Setting these in the right place should work. >>> >>> project(foo) >>> set(CMAKE_SHARED_LIBRARY_C_FLAGS "-xcode=pic32") >>> add_library(foo SHARED foo.c) >> >> I believe this is my issue, I

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread Bill Hoffman
George Neill wrote: Setting these in the right place should work. project(foo) set(CMAKE_SHARED_LIBRARY_C_FLAGS "-xcode=pic32") add_library(foo SHARED foo.c) I believe this is my issue, I am setting the variable before I issue the PROJECT command. I have created my own CMAKE_BUILD_TYPE's a

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread George Neill
On Mon, Oct 27, 2008 at 3:33 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > George Neill wrote: >> >> Alan, >> >> On Mon, Oct 27, 2008 at 3:10 PM, Alan W. Irwin >> <[EMAIL PROTECTED]> wrote: >>> >>> On 2008-10-27 12:54-0500 George Neill wrote: >>> Hi All, I am using cmake 2.4.8 and Su

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread Bill Hoffman
George Neill wrote: Alan, On Mon, Oct 27, 2008 at 3:10 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: On 2008-10-27 12:54-0500 George Neill wrote: Hi All, I am using cmake 2.4.8 and Sun Studio 12. I am trying to overwrite these default cmake compiler settings from Modules/Platorm/SunOS.cmake

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread George Neill
Alan, On Mon, Oct 27, 2008 at 3:10 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > On 2008-10-27 12:54-0500 George Neill wrote: > >> Hi All, >> >> I am using cmake 2.4.8 and Sun Studio 12. >> >> I am trying to overwrite these default cmake compiler settings from >> Modules/Platorm/SunOS.cmake >> >>

Re: [CMake] SS12 and -xcode=pic32

2008-10-27 Thread Alan W. Irwin
On 2008-10-27 12:54-0500 George Neill wrote: Hi All, I am using cmake 2.4.8 and Sun Studio 12. I am trying to overwrite these default cmake compiler settings from Modules/Platorm/SunOS.cmake SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC") SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-KPIC") to SET(CMAK

[CMake] SS12 and -xcode=pic32

2008-10-27 Thread George Neill
Hi All, I am using cmake 2.4.8 and Sun Studio 12. I am trying to overwrite these default cmake compiler settings from Modules/Platorm/SunOS.cmake SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC") SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-KPIC") to SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-xcode=pic32") SE