diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-09-02 15:03:14 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-09-02 19:20:25 +0200 |
commit | dbc66788a680daf3f8a1c0c6e7fbd1b77cc06864 (patch) | |
tree | 288a1530b1f3cd2d7ba2bb5821e2c4160725707c /SConstruct | |
parent | f990117e56060811ddd2a850ec712485aea79649 (diff) |
Add github actions and workflow
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -245,7 +245,7 @@ env["OBJSUFFIX"] = suffix + env["OBJSUFFIX"] library_name = "libopenvic-dataloader{}{}".format(suffix, env["LIBSUFFIX"]) if env["build_ovdl_library"]: - library = env.StaticLibrary(target=env.File(os.path.join(BINDIR, library_name)), source=sources) + library = env.StaticLibrary(target=os.path.join(BINDIR, library_name), source=sources) Default(library) env.Append(LIBPATH=[env.Dir(BINDIR)]) @@ -267,6 +267,8 @@ if env["build_ovdl_headless"]: headless_env.headless_sources = GlobRecursive("*.cpp", headless_path) if not env["build_ovdl_library"]: headless_env.headless_sources += sources + else: + headless_env.headless_sources += env.lexy_sources headless_program = headless_env.Program( target=os.path.join(BINDIR, headless_name), source=headless_env.headless_sources, |