#pragma once | #pragma once | ||||
#include <dds/build/plan.hpp> | |||||
#include <dds/build/plan/full.hpp> | |||||
#include <range/v3/view/concat.hpp> | #include <range/v3/view/concat.hpp> | ||||
#include <range/v3/view/filter.hpp> | #include <range/v3/view/filter.hpp> |
#pragma once | |||||
#include <dds/build/params.hpp> | |||||
#include <dds/build/plan/archive.hpp> | |||||
#include <dds/build/plan/compile_file.hpp> | |||||
#include <dds/build/plan/exe.hpp> | |||||
#include <dds/build/plan/library.hpp> | |||||
#include <dds/build/plan/package.hpp> | |||||
#include <dds/library.hpp> | |||||
namespace dds { | |||||
class build_plan { | |||||
std::vector<package_plan> _packages; | |||||
public: | |||||
package_plan& add_package(package_plan p) noexcept { | |||||
return _packages.emplace_back(std::move(p)); | |||||
} | |||||
auto& packages() const noexcept { return _packages; } | |||||
void compile_all(const build_env& env, int njobs) const; | |||||
void archive_all(const build_env& env, int njobs) const; | |||||
void link_all(const build_env& env, int njobs) const; | |||||
}; | |||||
} // namespace dds |
#include "./plan.hpp" | |||||
#include "./full.hpp" | |||||
#include <dds/build/iter_compilations.hpp> | #include <dds/build/iter_compilations.hpp> | ||||
#include <dds/proc.hpp> | #include <dds/proc.hpp> |
#pragma once | #pragma once | ||||
#include <build/plan/package.hpp> | |||||
#include <map> | |||||
#include <dds/build/params.hpp> | |||||
#include <dds/build/plan/archive.hpp> | |||||
#include <dds/build/plan/compile_file.hpp> | |||||
#include <dds/build/plan/exe.hpp> | |||||
#include <dds/build/plan/library.hpp> | |||||
#include <dds/build/plan/package.hpp> | |||||
#include <dds/library.hpp> | |||||
namespace dds { | namespace dds { | ||||
class build_plan2 {}; | |||||
class build_plan { | |||||
std::vector<package_plan> _packages; | |||||
public: | |||||
package_plan& add_package(package_plan p) noexcept { | |||||
return _packages.emplace_back(std::move(p)); | |||||
} | |||||
auto& packages() const noexcept { return _packages; } | |||||
void compile_all(const build_env& env, int njobs) const; | |||||
void archive_all(const build_env& env, int njobs) const; | |||||
void link_all(const build_env& env, int njobs) const; | |||||
}; | |||||
} // namespace dds | |||||
} // namespace dds |
#pragma once | #pragma once | ||||
#include <dds/build/plan.hpp> | |||||
#include <dds/build/plan/full.hpp> | |||||
namespace dds { | namespace dds { | ||||
#include <dds/build.hpp> | #include <dds/build.hpp> | ||||
#include <dds/build/plan.hpp> | |||||
#include <dds/logging.hpp> | #include <dds/logging.hpp> | ||||
#include <dds/repo/repo.hpp> | #include <dds/repo/repo.hpp> | ||||
#include <dds/sdist.hpp> | #include <dds/sdist.hpp> |
#pragma once | #pragma once | ||||
#include <dds/build/plan.hpp> | |||||
#include <dds/build/plan/full.hpp> | |||||
#include <semver/version.hpp> | #include <semver/version.hpp> | ||||