瀏覽代碼

Formatting

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
b7a3376902
共有 4 個文件被更改,包括 9 次插入8 次删除
  1. +3
    -2
      src/dds/build/builder.hpp
  2. +1
    -1
      src/dds/deps.cpp
  3. +3
    -3
      src/dds/toolchain/toolchain.hpp
  4. +2
    -2
      src/dds/usage_reqs.hpp

+ 3
- 2
src/dds/build/builder.hpp 查看文件

@@ -29,13 +29,14 @@ struct sdist_build_params {
*/
struct sdist_target {
/// The source distribution
sdist sd;
sdist sd;
/// The build parameters thereof
sdist_build_params params;
};

/**
* A builder object. Source distributions are added to the builder, and then they are all built in parallel via `build()`
* A builder object. Source distributions are added to the builder, and then they are all built in
* parallel via `build()`
*/
class builder {
/// Source distributions that have been added

+ 1
- 1
src/dds/deps.cpp 查看文件

@@ -11,10 +11,10 @@
#include <range/v3/view/transform.hpp>
#include <spdlog/spdlog.h>

#include <sstream>
#include <cctype>
#include <map>
#include <set>
#include <sstream>

using namespace dds;


+ 3
- 3
src/dds/toolchain/toolchain.hpp 查看文件

@@ -19,11 +19,11 @@ enum class language {
struct compile_file_spec {
fs::path source_path;
fs::path out_path;
std::vector<std::string> definitions = {};
std::vector<fs::path> include_dirs = {};
std::vector<std::string> definitions = {};
std::vector<fs::path> include_dirs = {};
std::vector<fs::path> external_include_dirs = {};
language lang = language::automatic;
bool enable_warnings = false;
bool enable_warnings = false;
};

struct compile_command_info {

+ 2
- 2
src/dds/usage_reqs.hpp 查看文件

@@ -39,8 +39,8 @@ public:
const lm::library* get(std::string ns, std::string name) const noexcept {
return get({ns, name});
}
lm::library& add(std::string ns, std::string name);
void add(std::string ns, std::string name, lm::library lib) { add(ns, name) = lib; }
lm::library& add(std::string ns, std::string name);
void add(std::string ns, std::string name, lm::library lib) { add(ns, name) = lib; }

std::vector<fs::path> link_paths(const lm::usage&) const;
std::vector<fs::path> include_paths(const lm::usage& req) const;

Loading…
取消
儲存