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


CMakeLists.txt file generator


gen-cmake [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 -t app -n test_app -s 11 -p boost

NOTE: not tested on Windows.