#pragma once // Because Apple refuses to update libc++ in a timely manner // In exchange, this in C++11 compatible... #include #include #include #include "command_builder.h" #include "types.h" #define CXX "clang++" namespace build { class project { private: version vers_{version::none}; std::string name_; std::vector source_files_; public: project(int argc, char const * const * const argv); project & set_version(version vers); project & set_name(std::string const & name); project & add_source_file(fs::path const & file); int generate() const; private: std::pair, int> generate_objects() const; }; }