-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
cmake: fix broken dependency chain for cmdline-opts, tidy-ups #14883
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vszakats
changed the title
cmake: fix source dependency for
cmake: tidy up dependencies of generated sources
Sep 12, 2024
tool_hugehelp.c
prepare fix source dependency for `tool_hugehelp.c` Also: tidy up order of a nearby dependency list. Follow-up to f03c856 curl#13047
To hint that this is _not_ a filename.
vszakats
force-pushed
the
cm-fix-manual-dependencies
branch
from
September 12, 2024 15:11
3f95d6d
to
229164e
Compare
vszakats
changed the title
cmake: tidy up dependencies of generated sources
cmake: fix broken dependency chain for cmdline-opts, tidy-ups
Sep 12, 2024
Also stop depending on the indirect target generate-curl.1 for tool_hugehelp.c.
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Sep 30, 2024
Trying to fix intermittent build failures with MSVC 2008: ``` unity_0.obj : error LNK2019: unresolved external symbol _showhelp referenced in function _tool_help unity_0.obj : error LNK2019: unresolved external symbol _hugehelp referenced in function _operate ``` https://ci.appveyor.com/project/curlorg/curl/builds/50700212/job/h3ekljnbccosej5k#L154 https://ci.appveyor.com/project/curlorg/curl/builds/50701615/job/61mkg9og1eooqli8#L155 Follow-up to 496da69 curl#14883
vszakats
added a commit
that referenced
this pull request
Sep 30, 2024
Trying to fix intermittent build failures with MSVC 2008: ``` unity_0.obj : error LNK2019: unresolved external symbol _showhelp referenced in function _tool_help unity_0.obj : error LNK2019: unresolved external symbol _hugehelp referenced in function _operate ``` https://ci.appveyor.com/project/curlorg/curl/builds/50700212/job/h3ekljnbccosej5k#L154 https://ci.appveyor.com/project/curlorg/curl/builds/50701615/job/61mkg9og1eooqli8#L155 Follow-up to 496da69 #14883 Closes #15088
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
make
curl.1
andcurl.txt
depend onDPAGES
.To trigger a rebuild when an individual manpage is updated.
tell CMake that the cmdline-opts command also creates
curl.txt
.make
tool_hugehelp.c
depend oncurl.txt
(was:curl.1
), to matchwhat it actually uses for input.
stop using
generate-curl.1
as an indirect way to createcurl.txt
in time for
tool_hugehelp.c
. After the fixes above there is a directdepedency chain between them.
move
ASCIIPAGE
andMANPAGE
variables to top-level, re-use them insrc
and prefix them withCURL_
to avoid clashing with otherprojects.
drop double quotes from
generate-curl.1
as a hint that it is nota filename, but a target name.
src: tidy up order of dependency lists.
generate-curl.1
toDEPENDS
just in case? [→ cmake: readdgenerate-curl.1
dependency forsrc
just in case #15088]