gitout

A static git page generator
git clone https://git.bracken.jp/gitout.git
Log | Files | Refs | Submodules | README | LICENSE

BUILD.gn (587B)


      1 config("openbsd_config") {
      2   public_configs = [
      3     "//build:compiler_std",
      4     "//build:compiler_warnings",
      5     "//build:strict_prototypes",
      6   ]
      7   if (is_debug) {
      8     public_configs += [
      9       "//build:debug",
     10       "//build:no_optimize",
     11       "//build:symbols",
     12     ]
     13   } else {
     14     public_configs += [
     15       "//build:release",
     16       "//build:optimize_size",
     17       "//build:lto",
     18     ]
     19   }
     20 }
     21 
     22 source_set("openbsd") {
     23   sources = [
     24     "reallocarray.c",
     25     "reallocarray.h",
     26     "strlcat.c",
     27     "strlcat.h",
     28     "strlcpy.c",
     29     "strlcpy.h",
     30   ]
     31   configs += [ ":openbsd_config" ]
     32 }