Files
telescope-fzf-native.nvim/CMakePresets.json
Isabella Muerte 65c0ee3d4b refactor: cleanup cmake + fix windows builds + add cmake presets (#78)
This change brings in several things

1. The `CMakeLists.txt` file has been reorganized and brought up to more
   "modern" CMake code (while still working with CMake 3.2 at a minimum)
2. A fix has been added for #77, to always set the suffix to `.dll`,
   regardless of toolchain
3. Warnings for _CRT_SECURE and _CRT_NONSTDC are now disabled.
4. This also adds the most minimal version of a cmake "preset" for CMake
   3.19 and later. This adds generators for unix makefiles and ninja,
   allowing users to simply execute their post-install step as:
   ```console
   $ cmake --preset <ninja|make>
   $ cmake --build build --target install
   ```
2022-09-06 07:39:20 +02:00

29 lines
484 B
JSON

{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "ninja",
"inherits": "base",
"generator": "Ninja"
},
{
"name": "make",
"inherits": "base",
"generator": "Unix Makefiles"
}
]
}