Skip to content
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

Add CMake install target along with build options #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a3f
Copy link

@a3f a3f commented Oct 1, 2017

Following CMake options have been added with the defaults specified:

  • -DWITH_PIC=OFF (Compile static library as PIC too)
  • -DBUILD_STATIC_LIBS=ON
  • -DBUILD_SHARED_LIBS=ON
  • -DBUILD_MANUAL_TEST=ON

Installation step (e.g. make install) now installs the xinputsimulator.h header, the static and shared libraries as well as a XInputSimulator.pc for pkg-config.

I restructured the header files to require only that single include for client code.

I made a (yet unpublished) Perl wrapper Alien::XInputSimulator for this library and having these features would make automatic detection/installation easier.

@a3f a3f force-pushed the master branch 7 times, most recently from 8e4d5af to 7faf7df Compare October 3, 2017 11:41
Following CMake options have been added with the defaults specified:

* -DWITH_PIC=OFF (Compile static library as PIC too)
* -DBUILD_STATIC_LIBS=ON
* -DBUILD_SHARED_LIBS=ON
* -DBUILD_MANUAL_TEST=ON
* -DBUILD_MACOS_FATLIB=ON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant