From 4b4ac58d60d4cf450a600c384e4adca4f45ebf86 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 25 Sep 2016 19:49:17 +0300 Subject: [PATCH] Improve Project Generator for CLion IDE when source folder contains nested items --- HISTORY.rst | 1 + platformio/ide/tpls/clion/CMakeListsPrivate.txt.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index f5e92b65..bd13e58e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,6 +8,7 @@ PlatformIO 3.0 ~~~~~~~~~~~~~~~~~~ * Improved detecting of ARM mbed media disk for uploading +* Improved Project Generator for CLion IDE when source folder contains nested items ------- diff --git a/platformio/ide/tpls/clion/CMakeListsPrivate.txt.tpl b/platformio/ide/tpls/clion/CMakeListsPrivate.txt.tpl index 3397a070..85fef8f8 100644 --- a/platformio/ide/tpls/clion/CMakeListsPrivate.txt.tpl +++ b/platformio/ide/tpls/clion/CMakeListsPrivate.txt.tpl @@ -22,4 +22,4 @@ include_directories("{{include.replace("\\", "/")}}") % end % end -aux_source_directory({{project_src_dir.replace("\\", "/")}} SRC_LIST) +FILE(GLOB_RECURSE SRC_LIST {{project_src_dir.replace("\\", "/")}}/*.*)