-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest trieste version (#647)
* Update to latest trieste version This reduces the compile time by around 20% as the latest Trieste does not include CPP::CLI in the main header.
- Loading branch information
Showing
4 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
// Copyright Microsoft and Project Verona Contributors. | ||
// SPDX-License-Identifier: MIT | ||
#include "lang.h" | ||
#include "trieste/driver.h" | ||
|
||
namespace verona | ||
{ | ||
void Options::configure(CLI::App& cli) | ||
{ | ||
cli.add_flag("--no-std", no_std, "Don't import the standard library."); | ||
} | ||
} | ||
|
||
int main(int argc, char** argv) | ||
{ | ||
return verona::driver().run(argc, argv); | ||
trieste::Driver d( | ||
"Verona", &verona::options(), verona::parser(), verona::passes()); | ||
|
||
return d.run(argc, argv); | ||
} |