{"id":9295,"date":"2020-12-21T01:53:35","date_gmt":"2020-12-21T06:53:35","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=9295"},"modified":"2024-02-20T16:51:44","modified_gmt":"2024-02-20T13:51:44","slug":"cmake-3-19-release-with-apple-silicon","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/cmake-3-19-release-with-apple-silicon\/","title":{"rendered":"CMake 3.19 Release With Apple Silicon Support"},"content":{"rendered":"\n
CMake 3.19 release as of 3.19.2 now comes with support for Apple Silicon, environment variable editor, and several other fixes and improvements<\/p>\n\n\n\n
Kitware recently announced the CMake 3.19 Release. This version comes with a host of new features which will be highlighted below.<\/p>\n\n\n\n
ISPC is now supported as a first-class language that can be enabled via the project()<\/em> and enable_language()<\/em> commands. It is currently supported by the Makefile Generators and the Ninja generator on Linux<\/a>, macOS, and Windows<\/a> using the Intel ISPC compiler. Meanwhile, CUDA<\/a> language support now works on QNX.<\/p>\n\n\n\n The CMake<\/a> GUI<\/a> now has an environment variable editor while in the command-line, the tool’s –install<\/em> mode now has a –default-directory-<\/em>permissions option as well as a -E create_hardlink<\/em> command-line tool that can be used to create hard links between files.<\/p>\n\n\n\n As for deprecated and removed Features, compatibility with versions of CMake older than 2.8.12 is now deprecated and will be removed from future versions. macOS SDKs older than 10.5 are no longer supported.<\/p>\n\n\n\n Support for compiling<\/a> with Qt4<\/a> has been removed while cmake-gui<\/em> now requires Qt5. Finally, the cmake<\/em> command-line option –warn-unused-vars<\/em> has been removed and is now silently ignored.<\/p>\n\n\n\n Apple Silicon is now supported since CMake 3.19.2. With this, the CMAKE_APPLE_SILICON_PROCESSOR<\/strong> variable or CMAKE_APPLE_SILICON_PROCESSOR<\/strong> environment variable may be set to specify a host architecture explicitly. If not set CMake adds explicit flags to tell the compiler to build for the CMAKE_HOST_SYSTEM_PROCESSOR<\/strong>. Building for macOS will now use the latest SDK available on the system unless the user has explicitly chosen an SDK using CMAKE_OSX_SYSROOT<\/strong>.<\/p>\n\n\n\n For these and more details about the CMake 3.19 release, you can visit the official release notes<\/a> to learn more. Other than that you may visit the download page here<\/a> to get started with this latest version.<\/p>\n","protected":false},"excerpt":{"rendered":" CMake 3.19 release as of 3.19.2 now comes with support for Apple Silicon, environment variable editor, and several other fixes and improvements Kitware recently announced the CMake 3.19 Release. This…<\/p>\n","protected":false},"author":1,"featured_media":9296,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,27,28,16,18],"tags":[108,111,143,286,354,359,433,449,482,524,591,646],"yoast_head":"\n