cpp-manager
is a command-line tool for managing C++ projects. It automates project initialization, dependency management, compilation, and testing.
- Project Initialization: Create a new C++ project with a standard directory structure.
- Dependency Management: Add and manage dependencies using Conan or vcpkg.
- Compilation: Automate the build process using CMake.
- Testing: Run unit tests using Google Test or Catch2.
- Module Management: Create and delete headers and source files.
- CMake (>= 3.10)
- C++ Compiler (e.g., GCC, Clang, MSVC)
- Conan or vcpkg (for dependency management)
-
Clone the repository:
git clone https://github.com/Ferencz/cpp-manager.git cd cpp-manager
-
Build the project:
mkdir build cd build cmake .. cmake --build .
-
Install the binary (optional):
sudo cmake --install .
cpp-manager init MyProject
cpp-manager add zlib/1.2.11
cpp-manager build
cpp-manager test
cpp-manager create header MyClass
cpp-manager create module MyClass --header
cpp-manager delete module MyClass
cpp-manager src --list
cpp-manager src
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.