Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add postfix for different types of builds#80

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mitkof6 wants to merge1 commit intodocopt:master
base:master
Choose a base branch
Loading
frommitkof6:distinguish_builds

Conversation

@mitkof6
Copy link

@mitkof6mitkof6 commentedJun 23, 2017
edited
Loading

Currently when docopt is installed for different build types the last build overrides the libraries. This PR adds a default postfix based on the build type.

issue

clnsmith reacted with thumbs up emoji
@jaredgrubb
Copy link
Member

I'm not experienced with cmake (one day I'll learn it), so I'd like to have someone volunteer to look at this?

@mitkof6
Copy link
Author

Hi@jaredgrubb. The set command assigns a value to the variable. The postfix variables are used when the library is build so you have something like this docopt_[d|r|rd|md].[lib|dll|so]. The mark_as advanced command hides the cache variable under the advanced option, which can be easily accessed and changed during configuration. Finally, when you install the library the different builds are distinguished by the postfix. Since you have correctly configured the install process a separate cmake target is constructed for each build type so that the library can find the corresponding files and link them correctly when used by a third party.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mitkof6@jaredgrubb

[8]ページ先頭

©2009-2025 Movatter.jp