DEV Community

林子篆
林子篆

Posted on • Updated on

Another build system for Cpp

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:

  1. create a project dir. mkdir hello && cd hello
  2. create a sub dir src mkdir src
  3. create a config file called cdog.toml & type following message into it
  [project]
  src = "src" # source
  bin = "build" # output dir
Enter fullscreen mode Exit fullscreen mode
  1. At dir hello execute cdog 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)