Comments (2)
Should it be deleted? Looks like this flag is Intel-only for now, and Macs are shifting towards M1/M2s.
Yes, it looks like that's what needs to happen. From a quick search it looks like the control flow protection relies on hardware support: https://en.wikipedia.org/wiki/Indirect_Branch_Tracking
ARM gained such a technology in - the pretty recent - version 9 of its specification and I don't know which version the Apple chips implement. Control flow protection will likely not be available for a while.
from cmake-init.
I'll make a release with the fix now, since I don't have anything else in the works.
from cmake-init.
Related Issues (20)
- ERROR: uninitialized variable 'CMAKE_CONFIGURATION_TYPES' HOT 1
- The generated example does not compile on ubuntu 22.04 with c++ std 20? HOT 1
- cmake-init ci-windows and dev-win64 always output to Debug even if CMAKE_BUILD_TYPE is set to Release HOT 1
- error: option 'cf-protection=return' cannot be specified on this target (maxos-14) HOT 4
- Conan: add an option that would help choosing between generating a .txt or a .py file HOT 2
- clang-tidy warning due to readability-identifier-naming HOT 2
- `sanitize` job fails in new project HOT 3
- `fmt/core.h` not found HOT 6
- Spell and grammar checking
- Add sanitizer option to user presets HOT 5
- Why is the template generate a CMakeUserPresets, should not those be outside of git and local to the dev own setup?
- Showcase insertion of CMake variables via `configure_file()` HOT 3
- Conan v2 template HOT 3
- Mingw support in cmake-init HOT 1
- MSVC's /analyze is erroneous and slow
- It seems that my previous installation of Visual Studio 2022 edited my configurations HOT 2
- Rethink flags presets HOT 3
- Runtime error (Error code: 0xc0000135) when building shared libraries on Windows using MSVC HOT 3
- Setting `-D<project>_INSTALL_CMAKEDIR=something` produces unexpected results HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake-init.