Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamepad64/cmoduler
CModuler is a module generator for CMake. So far, it can only generate finders for libraries, but that's probably 90% of the use cases.
https://github.com/gamepad64/cmoduler
Last synced: 17 days ago
JSON representation
CModuler is a module generator for CMake. So far, it can only generate finders for libraries, but that's probably 90% of the use cases.
- Host: GitHub
- URL: https://github.com/gamepad64/cmoduler
- Owner: GamePad64
- License: other
- Created: 2015-03-16T07:22:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T20:15:05.000Z (9 months ago)
- Last Synced: 2024-02-29T21:30:40.383Z (9 months ago)
- Language: CMake
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
- License: COPYING
Awesome Lists containing this project
README
CMODULER 1.0
INTRODUCTION
CModuler is a CMake module generator. I was fed up with copy & paste, search
& replace over and over again 90% of the time.Version 1.0 (AKA "CModuler Meta") provides only very limited functionality: it
will create finders (modules of the form FindXXX.cmake) for libraries.REQUIREMENTS
CModuler is nothing more than a parametrized set of CMakeLists.txt and
templates. The only requirement is CMake itself and a text editor.USAGE
1. Edit CMakeLists.txt and fill in the values
2. cd build
3. cmake ..CModuler will create a 'test' directory containing the finder and a very
simple CMakeLists.txt meant for testing. The test will be run automatically,
if you do not want to run the test, replace step 3 with "cmake ..
-DNO_TEST:BOOL=ON".The generated finder supports debug/release versions of the library, i. e:
- if you build your application in release mode, it will be linked to the
release version of the third-party library.
- if you build your application in debug mode, it will be linked to the
debug version of the third-party library.FUTURE
I am developing a more advanced version which will allow the other 10% of
cases: multi-library finders, search for programs, optional/mandatory tests,
etc.LICENSE
BSD license, like CMake. See COPYING.AUTHOR
Pau Garcia i Quiles
http://www.elpauer.org