-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on (project) #19
Comments
I will check locally. Maybe we need an option to dump the actual error message for each version. |
I tried the project locally using macOS. I first had an error with all CMake versions, because Boost was not installed. Once I fixed that (
|
it's something I had expected. I have repeated the same with WSL ubuntu 20.04 and have installed boost there (apt install libboost-all-dev), and I got the same 3.8. On windows I have installed boost using the the problem probablly within |
I now added an |
I have updated the https://github.com/yalov/cmake_min_test1 a little bit
Then I launched from the Visual Studio Command Prompt,
|
Can you successfully run cmake from the command line? You can pass any parameter also to cmake_min_version. |
yes, cmake by itself is working.
|
I am not using Windows myself, so I have no way to check this. Could there be environment variables that need to be set? |
I will close that issue, if I will have something to say about the Platform Toolset I will open the new one |
cmake 3.0 - 3.20 have an error on the line 3:
project(cmake_min_test1 VERSION 0.1)
on the test project: https://github.com/yalov/cmake_min_test1
I have compiled this project on cmake 3.29.0 (windows 10) and cmake 3.16.3 (ubuntu 20.04, aarch64), so I believe there might be something wrong with the tool.
I use the tool on the windows 10 x64.
powershell output:
PS D:\Repos\cmake_min_version> .\venv\Scripts\python.exe cmake_min_version.py --full_search true D:\Repos\cmake_min_test
1
Found 33 CMake binaries from directory tools
[ 0%] CMake 2.4.8 ✘ error
The source directory "C:/Users/user/AppData/Local/Temp/tmpg8rx3pxp/-Wno-dev" does not exist.
[ 12%] CMake 2.6.4 ✘ error
Error in cmake code at
[ 22%] CMake 2.8.12.2 ✘ error
Error in cmake code at
[ 30%] CMake 3.0.2 ✘ error
CMakeLists.txt:3 (project)
[ 36%] CMake 3.1.3 ✘ error
CMakeLists.txt:3 (project)
[ 42%] CMake 3.2.3 ✘ error
CMakeLists.txt:3 (project)
[ 46%] CMake 3.3.2 ✘ error
CMakeLists.txt:3 (project)
[ 50%] CMake 3.4.3 ✘ error
CMakeLists.txt:3 (project)
[ 53%] CMake 3.5.2 ✘ error
CMakeLists.txt:3 (project)
[ 56%] CMake 3.6.3 ✘ error
CMakeLists.txt:3 (project)
[ 59%] CMake 3.7.2 ✘ error
CMakeLists.txt:3 (project)
[ 61%] CMake 3.8.2 ✘ error
CMakeLists.txt:3 (project)
[ 63%] CMake 3.9.6 ✘ error
CMakeLists.txt:3 (project)
[ 65%] CMake 3.10.3 ✘ error
CMakeLists.txt:3 (project)
[ 67%] CMake 3.11.4 ✘ error
CMakeLists.txt:3 (project)
[ 68%] CMake 3.12.4 ✘ error
CMakeLists.txt:3 (project)
[ 70%] CMake 3.13.5 ✘ error
CMakeLists.txt:3 (project)
[ 71%] CMake 3.14.7 ✘ error
CMakeLists.txt:3 (project)
[ 72%] CMake 3.15.7 ✘ error
CMakeLists.txt:3 (project)
[ 73%] CMake 3.16.9 ✘ error
CMakeLists.txt:3 (project)
[ 74%] CMake 3.17.5 ✘ error
CMakeLists.txt:3 (project)
[ 75%] CMake 3.18.6 ✘ error
CMakeLists.txt:3 (project)
[ 76%] CMake 3.19.8 ✘ error
CMakeLists.txt:3 (project)
[ 77%] CMake 3.20.6 ✘ error
CMakeLists.txt:3 (project)
[ 77%] CMake 3.21.7 ✔ works
[ 78%] CMake 3.22.6 ✔ works
[ 79%] CMake 3.23.5 ✔ works
[ 79%] CMake 3.24.4 ✔ works
[ 80%] CMake 3.25.3 ✔ works
[ 81%] CMake 3.26.6 ✔ works
[ 81%] CMake 3.27.9 ✔ works
[ 82%] CMake 3.28.4 ✔ works
[ 82%] CMake 3.29.0 ✔ works
[100%] Minimal working version: CMake 3.21.7
The text was updated successfully, but these errors were encountered: