set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
cmake_minimum_required(VERSION 3.1)
project(MyApplication)标签:set,CMAKE,longer,no,WIN32,minimum,CYGWIN,CMake From: https://blog.51cto.com/u_15458814/5883909
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
cmake_minimum_required(VERSION 3.1)
set(CMAKE_CXX_STANDARD 11)
aux_source_directory(src SOURCE_FILES)
add_executable(hello src/hello.c)