diff --git a/CMakeLists.txt b/CMakeLists.txt index fbf0066..db4742c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 4.2 FATAL_ERROR) +cmake_minimum_required(VERSION 4.3 FATAL_ERROR) project( cpp-project-template diff --git a/cmake/defaults.cmake b/cmake/defaults.cmake index 9bf25ad..286c5c3 100644 --- a/cmake/defaults.cmake +++ b/cmake/defaults.cmake @@ -24,7 +24,7 @@ set(CMAKE_C_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_SCAN_FOR_MODULES ON) set(CMAKE_VERIFY_INTERFACE_HEADER_SETS ON) -# TODO: set(CMAKE_VERIFY_PRIVATE_HEADER_SETS ON) with cmake 4.3 +set(CMAKE_VERIFY_PRIVATE_HEADER_SETS ON) set(CMAKE_LINK_WHAT_YOU_USE TRUE) set(CMAKE_VS_JUST_MY_CODE_DEBUGGING ON) set(CMAKE_COLOR_DIAGNOSTICS ON) diff --git a/pyproject.toml b/pyproject.toml index 2634d1e..c3f7a67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,8 +18,7 @@ dev = [ "ninja", "pre-commit", "clang-format", -#TODO: remove version after https://github.com/scikit-build/cmake-python-distributions/issues/692 - "cmake==4.3.0", + "cmake", ] [tool.uv] diff --git a/uv.lock b/uv.lock index db8f95d..5f54d8c 100644 --- a/uv.lock +++ b/uv.lock @@ -88,28 +88,28 @@ wheels = [ [[package]] name = "cmake" -version = "4.3.0" +version = "4.3.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/85/cb/922693f3aa75ca3fde2e02aef0b765a8a37db9868f70609b508096df139f/cmake-4.3.0.tar.gz", hash = "sha256:b25ef14e4ebc16219eeb199da2199fc526c011f9973e02e7c21c69bfd46ed752", size = 36979, upload-time = "2026-03-23T19:38:06.284Z" } +sdist = { url = "https://files.pythonhosted.org/packages/40/72/c295e190193af5f41d583517db1ca1cf43eaa2af8140856dca114fa6486d/cmake-4.3.1.tar.gz", hash = "sha256:6fe523413cdd2568a19a6ec297b8f869a95a3f8edaf0dd73731b81412216e00e", size = 36968, upload-time = "2026-03-31T21:02:08.594Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/3b/ee/d221c00452a31143fbdf35f52f981f2df54d0cedb26a8b7bb1c77b902369/cmake-4.3.0-py3-none-macosx_10_10_universal2.whl", hash = "sha256:e3d83af988c4ad687201a531440dafb6bd145a696433a4e202ac6e2b3524059d", size = 52487876, upload-time = "2026-03-23T19:36:58.449Z" }, - { url = "https://files.pythonhosted.org/packages/76/6e/34ae7a2375444c6a8311aa7d624d4c6c5cbed62bcb1adfdd669dd8ba4474/cmake-4.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3a1733fdaefa397f8ff721dcc6bf2e86f0397391841a5cfd6f77162694046b05", size = 29544958, upload-time = "2026-03-23T19:37:02.598Z" }, - { url = "https://files.pythonhosted.org/packages/5c/9a/110c442b6ebab861e3eb829fe661d6eb71d86952d0a43c0e6828f46d0a8d/cmake-4.3.0-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:2a40ee9d4ee8c150b824ef5bb2452a383c398f6b7660bc2838aa21e627debd49", size = 30640241, upload-time = "2026-03-23T19:37:05.599Z" }, - { url = "https://files.pythonhosted.org/packages/ce/29/66fd845ba8660e14603115cc2e296eaf4d77f9655e805275b3d74fc4afee/cmake-4.3.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:807d337f57f44651a495667bb7b713fd33ec1d4fd0caca570651a1168e0b573b", size = 30426591, upload-time = "2026-03-23T19:37:08.962Z" }, - { url = "https://files.pythonhosted.org/packages/59/f1/582950cfa1407d1703108b082e5d637b7fb1638573c1a385e5d84d6ec1cd/cmake-4.3.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:02bdf1b58e0c720d9bde7e3189e02dc1bd9be9df5f88bc6f3d615cb905050528", size = 28349255, upload-time = "2026-03-23T19:37:13.162Z" }, - { url = "https://files.pythonhosted.org/packages/59/4f/35cf245e8366651ff89db11cbefc6cae7845dfa361c2798fcdad102a33ac/cmake-4.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7259210f2465e602273e7e0bc45683a5b953c1dd46afb17534a63a7add9c3960", size = 29478905, upload-time = "2026-03-23T19:37:16.572Z" }, - { url = "https://files.pythonhosted.org/packages/56/06/4a1d995afd40c8c29f350173f7f343680d9f0840f7293ba2b1782aa4094e/cmake-4.3.0-py3-none-manylinux_2_31_armv7l.whl", hash = "sha256:2544b0bf54b5642c3450b716280942eae1607e09a31d28233e8aff71c146e300", size = 26598645, upload-time = "2026-03-23T19:37:19.84Z" }, - { url = "https://files.pythonhosted.org/packages/81/7f/5dace799689b28bf59015bb05e29fc9313e7575b91d6895dbb13090d8bf3/cmake-4.3.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:712e87ad09ff6f078b0bef2edc26ac1ebadc9caf195fe5e9406b090fbdf2b4f5", size = 26735981, upload-time = "2026-03-23T19:37:23.291Z" }, - { url = "https://files.pythonhosted.org/packages/2c/ba/e881481b65eab457ec4abc0f4cd944b3710e9fe4530a617c27b49b02e008/cmake-4.3.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:8d2aa3aba4300f87c55ce47914e75db9dc927a638742b17573f619a9811bb0bf", size = 38551604, upload-time = "2026-03-23T19:37:26.71Z" }, - { url = "https://files.pythonhosted.org/packages/ab/98/d20d0caee8d2c1c2518ccb9e48a644ab163877c4573783a900f127f4ad1e/cmake-4.3.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:2033c0c335f46bd01b431f5e37a528be28abf2458ca4fd17f5e7eb9cbdf19549", size = 35185242, upload-time = "2026-03-23T19:37:30.175Z" }, - { url = "https://files.pythonhosted.org/packages/ad/e2/faddd5aef68be52d998cd3480d02de7d86cd6b1e14a982e70fe939ba66aa/cmake-4.3.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:d73657ee1c99cb180540d275e159268fdf05d1b866d9f438182509b020bf590f", size = 41214996, upload-time = "2026-03-23T19:37:33.85Z" }, - { url = "https://files.pythonhosted.org/packages/e2/3d/080f5c1a32e595ceb08d15fa30d3dacab8af893a192e664c7b4c1e895f5b/cmake-4.3.0-py3-none-musllinux_1_2_ppc64le.whl", hash = "sha256:d31ea6a98f216695b80dba93251a5425cf21c622ac5390aba352cb0bb5a410ca", size = 40388309, upload-time = "2026-03-23T19:37:38.146Z" }, - { url = "https://files.pythonhosted.org/packages/f4/25/53711394dce63fc32d980f260475ee26e1fce385252728e3e4843a7a7f19/cmake-4.3.0-py3-none-musllinux_1_2_riscv64.whl", hash = "sha256:1f5d09679e62ea7b558bdf0854508df2395fb12b49e54149160e1d2e55938974", size = 35451804, upload-time = "2026-03-23T19:37:42.511Z" }, - { url = "https://files.pythonhosted.org/packages/9a/0f/6ffd1255a620cb36fe7241a5ea8e6d77f1ce9d226e55185389253745a693/cmake-4.3.0-py3-none-musllinux_1_2_s390x.whl", hash = "sha256:830f9128ab7bbbe87e67937ac75ad15ff6a4c8a0d23fb349543a03cd640b5361", size = 37682897, upload-time = "2026-03-23T19:37:46.249Z" }, - { url = "https://files.pythonhosted.org/packages/3b/23/e582355747cc635f74d9e2acceb974680fb54d30540d473c6345974f218e/cmake-4.3.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:e43be697e00999a6a14f5aefb20d93e072785783e58f060ff8f767ea14e2a521", size = 38511234, upload-time = "2026-03-23T19:37:50.198Z" }, - { url = "https://files.pythonhosted.org/packages/49/e1/29225cfd35ac8e4018cca074b25b4ef1121128cac18af1af3d4e82719e6c/cmake-4.3.0-py3-none-win32.whl", hash = "sha256:5fd4bfbe40bc435202e88ff7d91c63293c5780e1f0d772cfc752880feb807e04", size = 37775210, upload-time = "2026-03-23T19:37:54.607Z" }, - { url = "https://files.pythonhosted.org/packages/41/01/2780a5e4037eaee642f36fd9d4dac22562123f1a77c9c9a9ca3f6ec029d3/cmake-4.3.0-py3-none-win_amd64.whl", hash = "sha256:92e807d39ffa54b4d8ab947a2444c42b00a3ccb3e00bd05b1ed0f728ae0c938c", size = 41216473, upload-time = "2026-03-23T19:37:59Z" }, - { url = "https://files.pythonhosted.org/packages/3d/6f/93cd7ee5aa0ef5beb3532f4f6dea364bfc604ef6cb1a30ebf0211c95dc71/cmake-4.3.0-py3-none-win_arm64.whl", hash = "sha256:9bdbdf9220226200f55a08e99faa0442f9ff2c95a93a2bb5f35a9d5196ddf87a", size = 39557495, upload-time = "2026-03-23T19:38:03.534Z" }, + { url = "https://files.pythonhosted.org/packages/43/07/05be57c389f8f0c3d0d7b878685ec1eed863b77787d65584c9399e294531/cmake-4.3.1-py3-none-macosx_10_10_universal2.whl", hash = "sha256:976337df534f4eea6b100a7af39f9a7a538aa5fd65b7d770cf2a07907439dca8", size = 52555201, upload-time = "2026-03-28T15:28:10.956Z" }, + { url = "https://files.pythonhosted.org/packages/9b/80/09c381519855d53a5cce0e5e10e184f9e89caf6a6f1f7d7b42c17bd68d2e/cmake-4.3.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bb7b7ef74beb69c099c39d7f151cfc94256bba1b75354e48ea87d6bf0dcb3007", size = 29569639, upload-time = "2026-03-28T15:28:14.368Z" }, + { url = "https://files.pythonhosted.org/packages/d6/0d/eab407c3592442711584d09bef5de17df93f39ea69baaa310c4564436177/cmake-4.3.1-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:8874aac9fbd07d71c506fcaf57255ff2cc015a15ea44146c0d1e694843d5e312", size = 30668021, upload-time = "2026-03-28T15:28:17.284Z" }, + { url = "https://files.pythonhosted.org/packages/ed/de/c7f487b21b33918c0af1dabfdf8d858799e01d62c2bd139fc871b86b21a2/cmake-4.3.1-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f439501f3f3ecf1dbafbee6226fc6cc680203202ddfe59586357d076c417ae8f", size = 30454909, upload-time = "2026-03-31T21:01:21.595Z" }, + { url = "https://files.pythonhosted.org/packages/c4/9c/2de3a3b5a5983b72c3e2eeaa23a6c8d251ebae79d15cedb9818e708a4caf/cmake-4.3.1-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:345f5e4ee783cd7691c6b54a631b43bb0c2efabf45afa64ac9000f9b0885d250", size = 28373243, upload-time = "2026-03-31T21:01:24.896Z" }, + { url = "https://files.pythonhosted.org/packages/87/32/542ed40b3393bced9af073402f75fb6ae3e57d6656cc38a9470942de7b8c/cmake-4.3.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:80fc99c1958dbd926f529448dfcdbb1b176ecf31a8d485a3d68bd469487e8933", size = 29504762, upload-time = "2026-03-31T21:01:28.15Z" }, + { url = "https://files.pythonhosted.org/packages/7f/ec/4f99b7414984d668aaa9c6214df84af689db8756f1536ea81720bb2fef91/cmake-4.3.1-py3-none-manylinux_2_31_armv7l.whl", hash = "sha256:fdb744921ff4739e755faee005b36b97223d2bb8591ebd7b57abb5cf97300925", size = 26620758, upload-time = "2026-03-31T21:01:31.017Z" }, + { url = "https://files.pythonhosted.org/packages/bf/b4/627e18c8acf6219b1c8c521e7d702bca36edab21994992b64e68e1007430/cmake-4.3.1-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:fdc39eb421177bfa946af3600c797612ee76bfe6daa6036ff8958c504a99937b", size = 26759382, upload-time = "2026-03-31T21:01:33.833Z" }, + { url = "https://files.pythonhosted.org/packages/cc/e1/e3b3dd1c81e72329f1ec3350a02154f74547eab2c1db8270eb2bc344edc1/cmake-4.3.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:8d1d224f9df9e82f154ad31b9798b7b4c0d509a11ccdca695d0ee4d140c30c6d", size = 38584793, upload-time = "2026-03-31T21:01:36.853Z" }, + { url = "https://files.pythonhosted.org/packages/98/3e/7a1ca1992de268fe1284b3738549ea8859f665dec294d584ae9200d66ce6/cmake-4.3.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:056483831febe0934f25959bc74da077b18f23c7a064a0417432447ec27b8fb2", size = 35214335, upload-time = "2026-03-31T21:01:40.857Z" }, + { url = "https://files.pythonhosted.org/packages/16/ce/9b0e79835b674d2680fae7e57d3229abac0765c3d80ddcc6c5c67ec78fd8/cmake-4.3.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9567aac26ee7a0594e6b71a8f94e907c7ce957cdeedeca1404504228f2c9885f", size = 41252469, upload-time = "2026-03-31T21:01:44.393Z" }, + { url = "https://files.pythonhosted.org/packages/bf/3a/eb15faf1ce961431017cda585650bd37a259fe53e836eae34263ea3647ab/cmake-4.3.1-py3-none-musllinux_1_2_ppc64le.whl", hash = "sha256:8cadd35606d3e4f9a43173f7236cd8947fb9652fdfb272a916f0600ad169fbf2", size = 40427440, upload-time = "2026-03-31T21:01:47.715Z" }, + { url = "https://files.pythonhosted.org/packages/48/34/b76e2c7aa0c1aa833430a2b4a1caff3f4163b9db7c38d208a4b6e0287d54/cmake-4.3.1-py3-none-musllinux_1_2_riscv64.whl", hash = "sha256:75622c1e7266e60fab9d4f1f4b4dc25f22a4b57e902d9792c39538f46a997269", size = 35482864, upload-time = "2026-03-31T21:01:50.611Z" }, + { url = "https://files.pythonhosted.org/packages/3a/3b/afd7d51aabec951e8881812d9bf1d4c74c1882434e97eb9ed6f097591dd1/cmake-4.3.1-py3-none-musllinux_1_2_s390x.whl", hash = "sha256:e43acaa51bb8fe57a914424edb0efa91eb82d577fb74ecc6ff67da47a1d23524", size = 37712157, upload-time = "2026-03-31T21:01:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/4f/be/6d9c4f0ef5383622c3d7fd508acb531b1cbaee530e7cf4196c415f548131/cmake-4.3.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:e8bc1c42517ed9cb26eb293e720449830940ef7be6dcc101638b9cc65ece98c8", size = 38543688, upload-time = "2026-03-31T21:01:56.785Z" }, + { url = "https://files.pythonhosted.org/packages/3a/49/ca3671c1b6859b5efe5b9f1bebf95cad823d48a3a8f366a72e207a1d7a02/cmake-4.3.1-py3-none-win32.whl", hash = "sha256:cd9058d730da5fa68394c41b26036b18850de494d730a0a85cde51558138b70b", size = 37816372, upload-time = "2026-03-31T21:01:59.873Z" }, + { url = "https://files.pythonhosted.org/packages/2a/2a/a8db7d73a6941e9d4a177011137378b222cd6dcec383f1998f3594c73a0c/cmake-4.3.1-py3-none-win_amd64.whl", hash = "sha256:73fb3851fe760b0395983c5d3dd6da2364b1ce324f8546aee2078d162d96005a", size = 41267090, upload-time = "2026-03-31T21:02:03.04Z" }, + { url = "https://files.pythonhosted.org/packages/9b/be/d62156e55b8a9614f29cd8e576e9bf925ee2b428e43bb0c4f02b5cb97c65/cmake-4.3.1-py3-none-win_arm64.whl", hash = "sha256:86e97fed7c9a61638b08937981fdc9bca9caec9df9c88b87aa0a47442583e02a", size = 39606866, upload-time = "2026-03-31T21:02:05.973Z" }, ] [[package]] @@ -170,7 +170,7 @@ dev = [ [package.metadata.requires-dev] dev = [ { name = "clang-format" }, - { name = "cmake", specifier = "==4.3.0" }, + { name = "cmake" }, { name = "conan" }, { name = "gcovr" }, { name = "ninja" },