DEV Community

林子篆
林子篆

Posted on • Edited on

3 1

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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay