[CMake] How can I know what compiler is?

2007-03-25 Thread Jong-young Park
Dear all. I need to add optimization flag(like '-O3' in gcc) in my project. But compile optimization command may be not in CMake commands. How can I know what compiler is (in project using CMake)? And, how can I add compiler flag? ___ CMake mailing l

[CMake] How does binary link with static library?

2007-03-04 Thread Jong-young Park
Dear all. Thanks for replying before. I have 1 more question. With your help, I can make both(shared & static) libraries. However, in my bin/ directories, target must link with static library. for example, there two directories. bin/ bin.c lib/ libmy.a libmy.so I wanna make binary like fo

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-04 Thread Jong-young Park
On 3/4/07, Pascal Fleury <[EMAIL PROTECTED]> wrote: On Friday 02 March 2007 09:55:26 Jong-young Park wrote: > I tested it. > However, compiling was made twice(for example, 'gcc -c a.c' is performed > twice for shared and static). > > I feel some... disappo

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Jong-young Park
I tested it. However, compiling was made twice(for example, 'gcc -c a.c' is performed twice for shared and static). I feel some... disappointed. :) Thanks for replying, Brandon. On 3/2/07, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: Jong-young Park wrote: I need both l

[CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Jong-young Park
I need both lib.a & lib.so as project result. But ADD_LIBRARY command may support Only 1 type, I think. Not any other method? Thanks for reading. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake