[CMake] Support OpenBLAS in FindBLAS module

2014-11-04 Thread Zhang Xianyi
Hi Folks, I am the developer of OpenBLAS, an optimized BLAS implementation forked from GotoBLAS2. So far, the FindBLAS.cmake module cannot recognize OpenBLAS as a legitimate library. Is it possible to support OpenBLAS in FindBLAS module? Best Regards, Xianyi -- Powered by www.kitware.com Ple

[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

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-29 Thread Zhang Xianyi
Hi Decker, Thank you for the answer. If I want to debug test_double, the debugger will refer to ${CMAKE_BINARY_DIR}/test_double.c. I am not sure it is appropriate to debug a generated file. Xianyi 2014-11-28 23:03 GMT+08:00 J Decker : > > > On Fri, Nov 28, 2014 at 1:29 AM, Zha