forked from pixie16/paass
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Updating CMake #96
Merged
Merged
Updating CMake #96
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
Since we're only building SOs we need to make sure that all the headers get installed properly. We'll do this with the PUBLIC_HEADER property for the library.
The stock makefile generates PlxApi.a and PlxApi.so without lib on the front. I wanted to move this back to a more stock install, so we modified the variables to support the stock library names.
…inux version of Pixie SDK
We're not installing this binary as it's meant for test purposes.
It was added to Cmake in version 3.2.
I hated that the install directory would be created no matter what. We now use the default install prefix and append the project name to it. This should help make us more portable. Added a library configuration file since we're building only SOs now. This will make it easier for users to update ld's search paths. Adjsuted the install paths for files to match where you should find them on *nix systems. Not perfect but makes things clearer.
…ust CI scripts to build them.
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.
Description
Related Issue
#94
Motivation and Context
The CMake scripts were getting a little out of hand. They didn't conform to modern CMake best practices. I also found them hard to follow.
How Has This Been Tested?
Tested by
Types of changes
Checklist: