Commit Graph

11 Commits

Author SHA1 Message Date
3c1de9f322 add config.cmake.in 2021-08-28 12:42:28 +08:00
张壹
69a4b33b8f update build system 2021-08-01 10:25:17 +08:00
71d0a5e3aa update cmakelists 2021-01-04 20:57:28 +08:00
pi
2ff925cdc4 update cmakelists 2020-09-09 17:28:50 +08:00
6083b80485 update on cmakelists 2020-09-09 12:23:23 +08:00
0084765d0b update to v1.1.0 2020-06-15 17:43:23 +08:00
bcafb30f35 编译成功 2019-10-21 22:40:08 +08:00
4076f6803a Update CMakeLists.txt 2019-10-21 22:30:24 +08:00
bbc63f3e25 edit CMakeLists.txt 2019-10-21 22:29:26 +08:00
fb98a740ea 自己编译 2019-10-21 22:24:25 +08:00
Andreas Schuh
e4f94fabd2 Enable build configuration with CMake (#18)
* add: CMake configuration files

* doc: Variables affecting CMake configuration installation

* fix: Rename CMake module and project -> subproject macro

The problem is that macro/function definitions in CMake have global scope. Therefore, use a custom macro name rather than replacing the standard CMake command.

* enh: Set LibLBFGS_LIBRARIES variable in LibLBFGSConfig.cmake

For (older) libLBFGS installations that do not contain the CMake package configuration file, a FindLibLBFGS.cmake module will be needed which then sets LibLBFGS_LIBRARIES to the path of the actual library file instead of an imported CMake build target.

* doc: Update CMakeLists.txt comment

* fix: Do not inherit CMake options from parent project

The parent project must explicitly set ${PROJECT_NAME}_${varname} before including the subproject to the value of the same named parent option ${varname} if super- and sub-project should both use the same value.

* fix: Export of targets as part of parent project

* fix: Do not import targets when liblbfgs TARGET exists

* enh: Prefix Subproject module functions, use unique target names and non-imported target ALIAS

* enh: Remove check if PROJECT_NAME is defined

* fix: Update documentation of CMakeLists.txt

* enh: Document LBFGS_INSTALL_HEADERS
2019-06-04 21:04:00 +09:00