set(CMAKE_LEGACY_CYGWIN_WIN320# RemovewhenCMake>=isrequiredcmake_minimum_required(VERSION3.1) https://stackoverflow.com/questions/28683365/how-to-disable-warning-in-cmake-3-1-about-cygwin-win32-not-being-defined?rq=1 project(MyApplication)set(CMAKE_LEGACY_CYGWIN_WIN320)#RemovewhenCMake>=2.8...
SET_TARGET_PROPERTIES(XYZ PROPERTIES LINKER_LANGUAGE C) 下面这个警告 CMake no longer defines WIN32 on Cygwin! cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_LEGACY_CYGWIN_WIN32=0 -D CMAKE_BUILD_TYPE=Debug -D_ECLIPSE_VERSION=3.7 ../../../../workspace/core_obj/...
CMake Warning at /usr/share/cmake-3.3.1/Modules/Platform/CYGWIN.cmake:15 (messag e): CMake no longer defines WIN32 on Cygwin! (1) If you are just trying to build this project, ignore this warning or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in...
SET_TARGET_PROPERTIES(XYZ PROPERTIES LINKER_LANGUAGE C) 下面这个警告 CMake no longer defines WIN32 on Cygwin! cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_LEGACY_CYGWIN_WIN32=0 -D CMAKE_BUILD_TYPE=Debug -D_ECLIPSE_VERSION=3.7 ../../../../workspace/core_obj/...
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required project(MyApplication) set(CMAKE_CXX_STANDARD 11) message("window set var") message(WARNING "xxxxx") message(${CMAKE_CURRENT_LIST_DIR}) #/cygdrive/d/luozheng/cproject/MyApplication 当前目录 ...
set(CMAKE_LEGACY_CYGWIN_WIN32 0) project(g2o) include(CPack) include(GNUInstallDirs) # The library prefix set(LIB_PREFIX g2o_) set(g2o_C_FLAGS) set(g2o_CXX_FLAGS) # default built type if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the ...
(1) If you are just trying to build this project, ignore this warning or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in the CMake cache. If later configuration or build errors occur then this project may have been written under the assumption that Cygwin is ...
(1) If you are just trying to build this project, ignore this warning or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in the CMake cache. If later configuration or build errors occur then this project may have been written under the assumption that Cygwin is ...
set(CMAKE_LEGACY_CYGWIN_WIN32 0) project(mosquitto) cmake_minimum_required(VERSION2.8) #Only for version 3 and up. cmake_policy(SET CMP0042 NEW) set(VERSION1.4.11) if(WIN32) execute_process(COMMANDcmd /c echo %DATE% %TIME%OUTPUT_VARIABLETIMESTAMP ...
$ CMAKE_LEGACY_CYGWIN_WIN32=0 cmake . -- Could NOT find RE2C (missing: RE2C_EXECUTABLE) -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- No build specified, defaulting to Debug. Use -DCMAKE_BUILD_TYPE=Release to change -- Using default allocator. Use -DTCMALLOC=1 to...