-
-
Notifications
You must be signed in to change notification settings - Fork 175
Switch to cmake 3.13 #727
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
base: main
Are you sure you want to change the base?
Switch to cmake 3.13 #727
Conversation
stop to use make because since CMake 3.15 (Ubuntu 20.04), Generator can be set in env CMAKE_GENERATOR and sometimes it is not the Unix Makefiles; Tested in Ubuntu 24 P.S. Also you can install to non-system folder, see example https://askubuntu.com/a/1543849/1087530
Can you clarify why CMake >= 3.13 is required? |
In according with link, In fact we can change readme only to add modern cmake code... I mean because of my new build code in readme I marked minimum cmake as 3.13 |
There is nothing wrong with the instructions in the documentation. So if the whole point of requiring CMake >= 3.13 is to allow the use of |
Please don't directly call make in modern code. Since CMake 3.15 (Ubuntu 20.04), Generator can be set in env CMAKE_GENERATOR and sometimes it is not the Unix Makefiles... For example Qt can't be builded with make, you need ninja. This is main reason. But there are others: |
If someone has set
I fail to see the advantage here. These are two ways to accomplish the same thing. Arguably More importantly, in editing this documentation you have failed to account for its context. Before these commands, the docs say "The following can be run inside the directory containing the gr-satellites sources". There is a section above it about how to download the sources. In this section, downloading the latest stable release is recommended. But you have added commands for Also, you have added |
Try Ubuntu 24 or any, by default there is no
And of cause Windows and macOS hasn't
Thanks, fixed. |
stop to use make because since CMake 3.15 (Ubuntu 20.04), Generator can be set in env CMAKE_GENERATOR and sometimes it is not the Unix Makefiles; Tested in Ubuntu 24 P.S. Also you can install to non-system folder, see example https://askubuntu.com/a/1543849/1087530 Actually you can still try using old cmake 3.8, but the instruction is adapted for 3.13
By default there is no
Why is this relevant? gr-satellites is not Qt.
Sure you can build gr-satellites however you like on your system, and you can avoid installing
Windows doesn't have anything of what is required to build GNU Radio out-of-tree modules (including, but not limited to, gr-satellites). This is true regardless of whether you build in the way you mention. It is quite cumbersome to get a suitable build environment in Windows, and these days probably the best way is through conda. I don't know enough about macOS to tell if it has
The current instructions will work fine for 99% of the users that are building from source. |
stop to use make because since CMake 3.15 (Ubuntu 20.04), Generator can be set in env CMAKE_GENERATOR and sometimes it is not the Unix Makefiles; Tested in Ubuntu 24
P.S. Also you can install to non-system folder, see example https://askubuntu.com/a/1543849/1087530