Trouble with [ and ] in the directory name
Create empty two folders, Empty Project
and Empty [Project]
both with the following CMakeLists.txt:
project (Empty)
cmake_minimum_required(VERSION 3.4)
file(GLOB_RECURSE files . *)
message(STATUS "files: ${files}")
cd
into the the directory and run cmake .
For Empty Project
you will get the correct output, but for Empty [Project]
the globbing seems to fail.
I am using ArchLinux with CMake 3.6.1-1