Comments (20)
Thanks, but that's not needed anymore since the --enable-debug switch to configure now used (since e424a1b) will imply running make checksrc.
from curl.
How does the mentioned script "configure" cooperate with your CMake build specification?
from curl.
Not at all. configure the script generated by autoconf and is the primary build environment used by me. cmake is a separate build environment that we maintain and provide for those who prefer to build libcurl that way. Two different ways to build the project.
from curl.
I know that two build approaches are provided.
I hope that the CMake script can a bit improved by this feature request, can't it?
from curl.
Ah sorry, I didn't understand what it was a question like that. My apologies.
Yes, I think all changes that bring the cmake build more in parity with the autotools build are good and welcome.
from curl.
So I guess this then concludes this issue since the question was answered?
from curl.
Do you need another pull request for the small addition of the suggested CMake command?
from curl.
Yes. Could you please provide pull request? Just mention that it targeted to fix #160.
from curl.
The scripts "Makefile.inc" set some variables which are referenced by the check commands.
Would you like to share the corresponding file name lists with the CMake build approach?
from curl.
@elfring you keep asking weird questions.
No, I don't particular "like to share" that list. But if you want to provide a feature or fix a problem and you can achieve that by sharing that list, then it could certainly be a viable option. Do you?
from curl.
The file name lists that will be passed to the check commands need to be defined somehow.
I imagine that it will be nice if a single listing would be sufficient for both build approaches, wouldn't it?
from curl.
So there, that sounds like an excellent use of that list, yes...
from curl.
I see that there is a software development challenge for the selection of a data format with which both build approaches can also work directly so that data duplication will be avoided.
Further ideas?
from curl.
Are you saying that the Makefile.inc format is not good enough for cmake?
from curl.
transform_makefile_inc() is already an existing cmake function provided in lib/CMakeLists.txt that transforms Makefile.inc into something suitable
from curl.
How do you think about to move the calls of your function "TRANSFORM_MAKEFILE_INC" into the main "CMakeLists.txt" so that corresponding file contents will already be reusable at the top level?
from curl.
Another strange question. Why would I think about that? If you can provide us with a good reason why we want to move that function then we can discuss it, if you can't then I think it is good where it is.
A proper patch to make a checksrc target for cmake might possibly want that.
But let me ask you again: can't cmake use the {src,lib}/Makefile.inc files as they are already? They use a very generic format.
from curl.
The automake target "checksrc" calls commands which refer to variables from the areas "lib" and "src", doesn't it?
Do you eventually want to make this target only usable in each subdirectory?
from curl.
checksrc is a make target, yes. Usable for those who don't build curl debug-enabled because then checksrc is run automatically on the normal make target (at least when configure-based)
I didn't say anything about this being "only usable in each subdirectory".
from curl.
I guess that the target "checksrc" should work for the areas "lib" and "src" at the top level. I find that corresponding data conversion will be needed in the main "CMakeLists.txt" already so that relevant variables will be appropriately defined there.
from curl.
Related Issues (20)
- curl: (60) SSL certificate problem: self-signed certificate HOT 2
- Noticed "* We are completely uploaded and fine" for downloads also HOT 2
- files downloaded with curl are corrupted somehow HOT 15
- FTPS upload of large file (800 GB) using TLS 1.3 gets slower and slower after ~4.5h and 360 GB HOT 9
- When CURLOPT_SSL_VERIFYPEER is set to "1", local cert does not verify. HOT 3
- Crash in getparameter HOT 1
- Perl-collector is not working after Curl Upgrade HOT 3
- curl `--ipv6` on macOS will connect to an ipv4 address HOT 5
- Issue while building curl with wolfssl HOT 9
- Curl 8.2.0-DEV can't automatically redirect access in HTTP/3 HOT 3
- request www.java.com curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2) HOT 4
- call the function curl_easy_getinfo error, when info is CURLINFO_STARTTRANSFER_TIME_T, the out param arg always is 0. HOT 7
- Cannot build --with-secure-transport from source macOS 14.4 HOT 37
- `--libcurl` generates an integer for `--tls-max`
- Random SIGSEGV when Ares support is enabled HOT 1
- curl/8.6.0 version `time_starttransfer` is always 0.000000 HOT 1
- Curl 8.6.0 doesn't allow unsetting of the `-w` field. HOT 3
- CMake error building libcurl 8.6.0 with OpenSSL QUIC enabled HOT 4
- Fail to configure with mbedTLS after update libcurl 8.5.0 to 8.6.0 HOT 3
- Error when configuring Curl project in `makefile.inc.cmake` transform HOT 6
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 curl.