From 81c4166389fba26cab5f05ef9c0e23dad8c7c75b Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 29 Nov 2018 15:43:28 +0400 Subject: [PATCH] Use CodeBlocks+Makefiles in cmake on Linux. It gives the files layout in the Qt Creator. --- Telegram/gyp/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/gyp/generate.py b/Telegram/gyp/generate.py index 76e023e9e..52afc8db5 100644 --- a/Telegram/gyp/generate.py +++ b/Telegram/gyp/generate.py @@ -119,7 +119,7 @@ for format in gypFormats: os.chdir(scriptPath + '/../../out') for configuration in cmakeConfigurations: os.chdir(configuration) - result = subprocess.call('cmake .', shell=True) + result = subprocess.call('cmake "-GCodeBlocks - Unix Makefiles" .', shell=True) if result != 0: print('[ERROR] Failed calling cmake for ' + configuration) finish(result)