Skip to content

astavonin/gen-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

CMakeLists.txt file generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages