diff options
author | Christian Kandeler <[email protected]> | 2025-02-25 12:42:50 +0100 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2025-03-05 13:53:45 +0000 |
commit | 3258b47ae78d4b0e61868babf3cfe658ebe5c308 (patch) | |
tree | 0e8a2aec591699004112ff6d3b17d5736493c5c4 /src/plugins/nim | |
parent | 0fe242747ab96fec16efe9d2b626fff8aa64eb69 (diff) |
Project managers: Only enable the debug build config by default
... when setting up a project initially.
It's unlikely that all configurations will get used right away, and they
can always be easily added later.
Change-Id: Idc92f409c8d6521672aa250eb30afc54af1d8eb2
Reviewed-by: hjk <[email protected]>
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r-- | src/plugins/nim/project/nimbleproject.cpp | 1 | ||||
-rw-r--r-- | src/plugins/nim/project/nimproject.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/nim/project/nimbleproject.cpp b/src/plugins/nim/project/nimbleproject.cpp index 7898a955519..6cb71bc9ec3 100644 --- a/src/plugins/nim/project/nimbleproject.cpp +++ b/src/plugins/nim/project/nimbleproject.cpp @@ -324,6 +324,7 @@ public: info.displayName = info.typeName; info.buildDirectory = projectPath.parentDir(); } + info.enabledByDefault = buildType == BuildConfiguration::Debug; return info; }; return QList<BuildInfo>{ diff --git a/src/plugins/nim/project/nimproject.cpp b/src/plugins/nim/project/nimproject.cpp index 9df5b931b46..0659d5faf28 100644 --- a/src/plugins/nim/project/nimproject.cpp +++ b/src/plugins/nim/project/nimproject.cpp @@ -321,6 +321,7 @@ public: info.displayName = info.typeName; info.buildDirectory = defaultBuildDirectory(k, projectPath, info.typeName, buildType); } + info.enabledByDefault = buildType == BuildConfiguration::Debug; return info; }; return QList<BuildInfo>{ |