set c++ version
This commit is contained in:
parent
b3a326720b
commit
29afc49c36
20 changed files with 304 additions and 179 deletions
12
HConfig
12
HConfig
|
@ -4,6 +4,10 @@ grbc_ext("GRBC_EXT_profiles")
|
|||
grbc_ext("GRBC_EXT_easy")
|
||||
grbc_ext("GRBC_EXT_dynamic_extensions")
|
||||
|
||||
grbc_global_properties({
|
||||
grbc_cxx_version("c++17")
|
||||
})
|
||||
|
||||
local hotwire = grbc_library(LibraryConfig.new({
|
||||
name = "libhotwire",
|
||||
language_type = LanguageType.C,
|
||||
|
@ -20,6 +24,9 @@ local hotwire = grbc_library(LibraryConfig.new({
|
|||
"vendor/hotwire/src",
|
||||
},
|
||||
|
||||
properties = {
|
||||
},
|
||||
|
||||
package_config = PackageConfig.new({
|
||||
name = "libhotwire",
|
||||
libraries = {},
|
||||
|
@ -38,7 +45,8 @@ local grbc_extensions = grbc_library(LibraryConfig.new({
|
|||
grbc_file("src/ext_pkg_config.cc"),
|
||||
grbc_file("src/ext_profiles.cc"),
|
||||
grbc_file("src/ext_easy.cc"),
|
||||
grbc_file("src/ext_dynamic.cc")
|
||||
grbc_file("src/ext_dynamic.cc"),
|
||||
grbc_file("src/ext_cmake.cc")
|
||||
},
|
||||
lib_type = LibraryType.Static,
|
||||
|
||||
|
@ -123,4 +131,4 @@ local grbc_exe = grbc_executable(ExecutableConfig.new({
|
|||
}))
|
||||
|
||||
-- Output the final build script
|
||||
grbc_build("ninja")
|
||||
grbc_build("ninja")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue