From 9b081a1ce44ff87feb439e49f89ca58311c92a36 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Tue, 4 May 2021 08:40:46 +0200 Subject: [PATCH] Forbid Windows builds from making subdirs in destdir --- core/core.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core.pro b/core/core.pro index fa5ef98..6b01136 100644 --- a/core/core.pro +++ b/core/core.pro @@ -5,6 +5,13 @@ TEMPLATE = lib CONFIG += shared c++11 +# Needed so that Windows doesn't do `release/` and `debug/` subfolders +# in the output directory. +CONFIG -= \ + copy_dir_files \ + debug_and_release \ + debug_and_release_target + DESTDIR = $$PWD/../bin # You can make your code fail to compile if it uses deprecated APIs.