Fix installation of header files with cmake (#1186)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 1 Jun 2017 14:36:26 +0000 (16:36 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2017 14:36:26 +0000 (16:36 +0200)
commit8f0d6c06a9be9ba0d3a1b2ca2710c7f5d2fdde00
tree119b7659dc2cf303b8c52c8a6ff0e9f346e44957
parent410a07cbec1c51ea1d5cb8feae571d49aba1c84f
Fix installation of header files with cmake (#1186)

* Fix installation of header files with cmake

Install only the required header files, with openblas_config.h preprocessed like in Makefile.install
Fixes #1184

* Update CMakeLists.txt

Escape remaining semicolons in awk argument list (to get it working on Windows as well)

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Add files via upload

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

see if it is the single quotes that cause the problem on windows

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Use C utility instead of awk for header generation in cmake builds

* Update CMakeLists.txt

* Fix generation and installation of header files

Generate openblas_config.h and f77blas.h with same contents as in plain Makefile builds and install only the public header files
CMakeLists.txt
gen_config_h.c [new file with mode: 0644]