loading...

Another build system for Cpp

dannypsnl profile image 林子篆 Updated on ・1 min read

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
  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.

Posted on by:

dannypsnl profile

林子篆

@dannypsnl

I am a programming language theory lover; good at system software like Networking, OS.

Discussion

markdown guide