Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunxfancy/codefactory
A python tool for building cmake and conan projects
https://github.com/sunxfancy/codefactory
Last synced: about 21 hours ago
JSON representation
A python tool for building cmake and conan projects
- Host: GitHub
- URL: https://github.com/sunxfancy/codefactory
- Owner: sunxfancy
- License: mit
- Created: 2017-02-09T02:56:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T22:22:36.000Z (almost 6 years ago)
- Last Synced: 2024-12-21T23:36:06.597Z (2 days ago)
- Language: Python
- Size: 400 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
Code Factory
==================Code Factory is a python tool for native code building, testing and deploying. It connects with some famous C/C++ build tools and Github platform.
We use tools listed below:
- GCC/Clang for C/C++ compiler
- CMake with makefile or ninja or VS or xcode
- Google Test for testing
- Git and Github for code version control
- Travis CI and AppVeyor for all platform building and testing
- Github Release for deploy code
- conan for the package manager# Install
we recommand using pip to install our tool:
```sh
# using sudo in unix system
pip install codefactory# or install in user directory
pip install codefactory --user# test it
codef --help
```# Actions
Some actions are supported:
- init: initialize the code repository
- build: for running CMake build in one action
- clean: clean all middle files
- depclean: clean all with release file
- install: install a new C/C++ package with conan
- run: run the default executable file## Create a new C++ project
`init` command is used to create new project, adding project as args:
```sh
codef init new_project
cd new_project
```## Build it
```sh
codef build
```