mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Switch to release winflexbison. Add msvc modern cppver option.
This commit is contained in:
parent
d9b49e957d
commit
3f9c32335c
1 changed files with 3 additions and 2 deletions
5
sw.cpp
5
sw.cpp
|
|
@ -1,4 +1,4 @@
|
||||||
#pragma sw require header org.sw.demo.lexxmark.winflexbison.bison-master
|
#pragma sw require header org.sw.demo.lexxmark.winflexbison.bison
|
||||||
|
|
||||||
void build(Solution &s)
|
void build(Solution &s)
|
||||||
{
|
{
|
||||||
|
|
@ -50,7 +50,8 @@ void build(Solution &s)
|
||||||
script2txt.CPPVersion = CPPLanguageStandard::CPP17;
|
script2txt.CPPVersion = CPPLanguageStandard::CPP17;
|
||||||
script2txt.setRootDirectory("src/script2txt");
|
script2txt.setRootDirectory("src/script2txt");
|
||||||
script2txt += "pub.lzwdgc.Polygon4.DataManager.schema-master"_dep;
|
script2txt += "pub.lzwdgc.Polygon4.DataManager.schema-master"_dep;
|
||||||
gen_flex_bison_pair("org.sw.demo.lexxmark.winflexbison-master"_dep, script2txt, "LALR1_CPP_VARIANT_PARSER", "script2txt");
|
gen_flex_bison_pair("org.sw.demo.lexxmark.winflexbison"_dep, script2txt, "LALR1_CPP_VARIANT_PARSER", "script2txt");
|
||||||
|
script2txt.CompileOptions.push_back("/Zc:__cplusplus");
|
||||||
|
|
||||||
auto &model = tools.addStaticLibrary("model");
|
auto &model = tools.addStaticLibrary("model");
|
||||||
model.CPPVersion = CPPLanguageStandard::CPP17;
|
model.CPPVersion = CPPLanguageStandard::CPP17;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue