Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| start [2021/11/20 21:52] – [How to set up your build configuration] deva | start [2026/03/23 16:29] (current) – deva | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| Well, wonder no more - **ctor** is here! | Well, wonder no more - **ctor** is here! | ||
| - | "' | + | "' |
| Ctor is a C++ based build system, making it possible to configure and build complex projects without writing a single line of non-C++. | Ctor is a C++ based build system, making it possible to configure and build complex projects without writing a single line of non-C++. | ||
| It aims towards the feature-richness found in auto-tools and beyond, but with a compilation speed rivalling that of raw makefiles. | It aims towards the feature-richness found in auto-tools and beyond, but with a compilation speed rivalling that of raw makefiles. | ||
| + | |||
| + | And the //only// dependency is a functioning C++ compiler! | ||
| ======Get it====== | ======Get it====== | ||
| Line 42: | Line 44: | ||
| In the root of your project you can create your first '' | In the root of your project you can create your first '' | ||
| <code c++> | <code c++> | ||
| - | #include <libctor.h> | + | #include <ctor.h> |
| namespace | namespace | ||
| { | { | ||
| - | BuildConfigurations | + | ctor:: |
| { | { | ||
| - | return | + | return |
| - | { | + | |
| - | | + | |
| - | .target | + | ctor::sources{ " |
| - | | + | |
| - | // See libctor.h for more options | + | |
| - | } | + | }}; |
| - | | + | |
| } | } | ||
| } | } | ||