I think scripting tool like CMake is too complex for the most C++ project, so I create a project called: Cdog.
Here is link cdog.
I would like to know does it useful?
How to use:
- create a project dir.
mkdir hello && cd hello
- create a sub dir
src
mkdir src
- create a config file called
cdog.toml
& type following message into it
[project]
src = "src" # source
bin = "build" # output dir
- At dir
hello
executecdog build
That's all.
Option src
will become include dir. So you can #include "add.h"
if you have a add.h
under your source dir. If you have add.cc
under the same path, Cdog will try to compile it & add the objectfile into final binary.
Compile result will appear at option bin's setting.
Top comments (0)