Re: [CMake] a question about archiving libraries

2011-02-03 Thread mina adel
Hi, Thank you so much for your reply. About archiving the libraries, can I use ar with custom_command() to archive the three libraries into one big library.? Thank you in advance Mina From: Eric Noulard eric.noul...@gmail.com To: mina adel elecengineer_m

[CMake] a question about archiving libraries

2011-02-02 Thread mina adel
Hi All In my code I use an available libraries (amd btf colamd) In order to compile those using cmake I use add_custom_command() to cd into each folder and then run make for each library. Now each library will have a lib file compiled, for example Lib/libamd.a Now, I want to take all the

[CMake] a question about archiving libraries

2011-02-02 Thread mina adel
Hi All In my code I use an available libraries (amd btf colamd) In order to compile those using cmake I use add_custom_command() to cd into each folder and then run make for each library. Now each library will have a lib file compiled, for example Lib/libamd.a Now, I want to take all the

Re: [CMake] call already made makefile

2010-11-04 Thread mina adel
...@beluga.phys.uvic.ca To: mina adel elecengineer_m...@yahoo.com Cc: cmake@cmake.org Sent: Sat, October 30, 2010 11:31:42 AM Subject: Re: [CMake] call already made makefile On 2010-10-29 20:50-0700 mina adel wrote: Hi All I have an open source code that I use in my project. This open source

Re: [CMake] call already made makefile

2010-11-04 Thread mina adel
can not know the object files generated. And I can not use them to build a bigger library. what is the easiest way to combine these libraries using cmake? Thanks Mina From: SK s...@metrokings.com To: Alan W. Irwin ir...@beluga.phys.uvic.ca Cc: mina adel

[CMake] Flags when building objects or a target

2010-11-01 Thread mina adel
Hi I have a problem when cmake builds the objects for shared library. I have the following in my cmaklists.txt set(SIMULATOR_SOURCES circuit.cc matrix.cc plot.cc sources.cc sparse.cc btzdense.cc element.cc util.cc parse.c netlist_parse.y netlist_lex.l circuit_step.cc zmatrix.cc

Re: [CMake] Converting from autoconf to cmake problem

2010-11-01 Thread mina adel
I think that would be a good idea to implement AC_* macros as CMAK_* macros. it will really help Thank you From: Clifford Yapp cliffy...@gmail.com To: mina adel elecengineer_m...@yahoo.com Cc: cmake@cmake.org Sent: Sat, October 30, 2010 3:36:44 PM Subject: Re

[CMake] Converting from autoconf to cmake problem

2010-10-29 Thread mina adel
Hi All I am converting a code from configure.ac to cmake. Can any one please advice me about what is the corresponding macro for the following. I have searched the cmake wiki and documentation and didnot find any. AC_HEADER_STDBOOL AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_STRUCT_TM #

[CMake] call already made makefile

2010-10-29 Thread mina adel
, it compile my code. Thanks for your help Mina From: mina adel elecengineer_m...@yahoo.com To: cmake@cmake.org Sent: Fri, October 29, 2010 11:45:25 PM Subject: Converting from autoconf to cmake problem Hi All I am converting a code from configure.ac to cmake

[CMake] A question about cache variables

2010-10-26 Thread mina adel
Hi All, I have a problem with cache variables in cmake. I want to check the combiler for a certain flag -C99 flag. So, I used the following statement CHECK_C_COMPILER_FLAG(-C99 FLAG_OK) The problem is that we I ran cmake for the first time it said that c99 is not found and set the FLAG_OK

[CMake] A question about cache variables

2010-10-26 Thread mina adel
Hi All, I have a problem with cache variables in cmake. I want to check the combiler for a certain flag -C99 flag. So, I used the following statement CHECK_C_COMPILER_FLAG(-C99 FLAG_OK) The problem is that we I ran cmake for the first time it said that c99 is not found and set the FLAG_OK