forked from jmzkChain/jmzk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file is used by the GN meta build system to find the root of the source | ||
# tree and to set startup options. For documentation on the values set in this | ||
# file, run "gn help dotfile" at the command line. | ||
|
||
buildconfig = "//build/config/BUILDCONFIG.gn" | ||
|
||
check_targets = [ | ||
"//libraries/*", | ||
"//plugins/*", | ||
"//programs/*" | ||
] |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
flags = [] | ||
if(build_type == "debug") { | ||
flags += ["-O0", "-g"] | ||
} | ||
else if(build_type == "release") { | ||
flags += ["-O3", "-DNDEBUG"] | ||
} | ||
|
||
config("root") { | ||
cflags_cc = [ | ||
"-std=c++17", | ||
"-Wall", | ||
"-Wextra", | ||
"-Werror", | ||
"-Wno-unused-parameter" | ||
] + flags | ||
} | ||
|