# HG changeset patch # User Sam # Date 1701530805 -25200 # Node ID 094342d38c69345f3154fc52a94291c3ee546a64 # Parent 1c3e74f24db0f9b2a0ff08af5bbefec8d02ec76d fix: old settings diff -r 1c3e74f24db0 -r 094342d38c69 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 1c3e74f24db0 -r 094342d38c69 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/..")