[CMake] Support OpenBLAS in FindBLAS module

2014-11-28 Thread Rob Zumwalt
Apologies for the new thread, I just subscribed in order to comment on this, and didnt know how to reply in the existing thread. I am grateful to Xianyi for his addition of OpenBlasConfig.cmake, and I do recognize that this is the direction that projects should go when wanting to build CMake

Re: [CMake] Creating a library from subdirectories

2014-11-28 Thread Chris Johnson
Thanks to all who have replied for your efforts in trying to help me. My apologies for any lack of clarity in describing my problem. With the various information and advice you provided, I have been able to get my CMake configuration working. Thanks again! ..chris On Wed, Nov 26, 2014 at 3:30

Re: [CMake] L

2014-11-28 Thread Zhang Xianyi
Hi Crni, I just added generating OpenBLASConfig.cmake on OpenBLAS develop branch. ( https://github.com/xianyi/OpenBLAS/commit/fe7dcf98f3666388b75839c6b3e6656580dcd222 ) I think the find_package(OpenBLAS) works fine now. Xianyi 2014-11-11 16:35 GMT+08:00 Crni Gorac : > On Tue, Nov 11, 2014 at

Re: [CMake] How about GNU Automatic Variables

2014-11-28 Thread J Decker
On Fri, Nov 28, 2014 at 1:29 AM, Zhang Xianyi wrote: > Hi, > > I want to use cmake for a library which supports different floating point > precision. > > In Makefile, I used $(*F) to generate the different function name. > > Could I use $(*F) in cmake? > > > == > > test.c > > ===

[CMake] How about GNU Automatic Variables

2014-11-28 Thread Zhang Xianyi
Hi, I want to use cmake for a library which supports different floating point precision. In Makefile, I used $(*F) to generate the different function name. Could I use $(*F) in cmake? == test.c === #ifdef DOUBLE #define TYPE double #else #define TYPE float