Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
start [2022/11/15 10:52] – [About Ctor] devastart [2023/07/24 15:25] deva
Line 6: Line 6:
 Well, wonder no more - **ctor** is here! Well, wonder no more - **ctor** is here!
  
-"'ctor" is an often used short-hand form of the word "constructor" referring to the class function that sets up the internals of an object in object oriented programming - so the intended pronunciation of "ctor" is "constructorbut sometimes also referred to as "see-tor''.+"'ctor" is an often used short-hand form of the word "constructor" referring to the class function that sets up the internals of an object in object oriented programming - so the intended pronunciation of "ctor" is //constructor// but sometimes also referred to as //see-tor//.
  
-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.cc 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.
Line 44: Line 44:
 In the root of your project you can create your first ''ctor.cc'' build configuration file: In the root of your project you can create your first ''ctor.cc'' build configuration file:
 <code c++> <code c++>
-#include <libctor.h>+#include <ctor.h>
 namespace namespace
 { {
-BuildConfigurations myConfigs()+ctor::build_configurations myConfigs(const ctor::settings& settings)
 { {
   return   return
Line 54: Line 54:
         .target = "hello",  // output filename         .target = "hello",  // output filename
         .sources = { "hello.cc", "world.cc" }, // list of source files to compile         .sources = { "hello.cc", "world.cc" }, // list of source files to compile
-        // See libctor.h for more options+        // See ctor.h for more options
       }       }
     };     };