CMakeLists.txt file generator
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore ignore Vim swp files May 8, 2016
LICENSE Initial commit Jan 13, 2016
README.md note Mar 22, 2018
gen-cmake.py fix project name Mar 25, 2018

README.md

gen-cmake

CMakeLists.txt file generator

Usage:

gen-cmake [options]

Options:

-h show this message
-t <type>, --type=<type> generate project with <type>. Supported types:
    app - generate execurable application
    shared - generate dynamically linked library
    static - generate archives of object files
-n <name>, --name=<name> project name
-s <standard>, --standard=<standard> C++ standard. C++11 is used by default
    available options are: 03, 11, 14
-p <package1,package2,packageN>, --packages=<package1,package2,packageN> comma separated
    list of libraries to link with

Example (will generate CMakeLists.txt with C++11 and BOOST libray linkage):

> python3 gen-cmake.py -t app -n test_app -s 11 -p boost

NOTE: not tested on Windows.