pkg-config extension
This commit is contained in:
parent
fc1964f766
commit
3183c676de
6 changed files with 92 additions and 23 deletions
|
@ -227,4 +227,4 @@ Package grbc_pkg(const std::string &package_name);
|
|||
|
||||
void grbc_ext(const std::string &extension_id);
|
||||
|
||||
void grbc_register_ext(const std::string &extension_id, const Extension &ext);
|
||||
void grbc_register_ext(const Extension &ext);
|
|
@ -1,9 +1,11 @@
|
|||
#pragma once
|
||||
#include "grbc/ext.h"
|
||||
#include "grbc/generator.h"
|
||||
#include "grbc/spec.h"
|
||||
#include <sol/sol.hpp>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
struct GState {
|
||||
Platform current_platform;
|
||||
|
@ -14,6 +16,8 @@ struct GState {
|
|||
|
||||
std::unordered_map<std::string, Package> packages;
|
||||
|
||||
std::vector<Extension> extensions;
|
||||
|
||||
std::string global_compiler_flags = " ";
|
||||
std::string global_linker_flags = " ";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue