# HG changeset patch # User Sam # Date 1701530805 -25200 # Node ID 8e926856a9cef9e881f4e4ea824833e6810a27e0 # Parent e76822e943af532c9914391df51187ba8b934d11 fix: old settings diff -r e76822e943af -r 8e926856a9ce config.nims --- a/config.nims Sat Dec 02 22:26:26 2023 +0700 +++ b/config.nims Sat Dec 02 22:26:45 2023 +0700 @@ -11,13 +11,14 @@ const BUNDLETYPE* {.strdefine.}: string = "dir" # dir, zip, exe const RESOURCEROOT* {.strdefine.}: string = "resources" +switch("d", "nimPreviewHashRef") +switch("experimental", "strictEffects") +switch("experimental", "strictFuncs") +switch("nimblePath", "nimbledeps/pkgs2") + task build, "build": switch("d", "BUNDLETYPE=" & BUNDLETYPE) switch("d", "RESOURCEROOT=" & RESOURCEROOT) - switch("d", "nimPreviewHashRef") - switch("experimental", "strictEffects") - switch("experimental", "strictFuncs") - switch("nimblePath", "nimbledeps/pkgs2") var buildType = DEBUG var platformDir = "" if defined(linux): @@ -123,7 +124,6 @@ cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform" if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]: - --path:src if defined(linux): --d:VK_USE_PLATFORM_XLIB_KHR if defined(windows): diff -r e76822e943af -r 8e926856a9ce tests/config.nims --- a/tests/config.nims Sat Dec 02 22:26:26 2023 +0700 +++ b/tests/config.nims Sat Dec 02 22:26:45 2023 +0700 @@ -1,1 +1,1 @@ -switch("path", "$projectDir/../src") \ No newline at end of file +switch("path", "$projectDir/..")