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

CMake: clean up HIDAPI build #5318

Merged
merged 2 commits into from May 3, 2017
Merged

Conversation

ligfx
Copy link
Contributor

@ligfx ligfx commented Apr 25, 2017

No description provided.

@ligfx
Copy link
Contributor Author

ligfx commented Apr 25, 2017

@Orphis

@ligfx ligfx changed the title Cmakehidapi CMake: clean up HIDAPI build Apr 25, 2017
@ligfx ligfx force-pushed the cmakehidapi branch 2 times, most recently from c473008 to 6155fc6 Compare April 25, 2017 03:21
@@ -0,0 +1,24 @@
project(hidapi)

set(SRCS)

This comment was marked as off-topic.

This comment was marked as off-topic.

target_link_libraries(hidapi PRIVATE ${LIBS})
target_include_directories(hidapi PUBLIC hidapi)

add_library(Hidapi::Hidapi ALIAS hidapi)

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

target_sources(hidapi PRIVATE windows/hid.c)
else()
find_package(Libudev)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND LIBUDEV_FOUND)

This comment was marked as off-topic.

This comment was marked as off-topic.

@@ -0,0 +1,20 @@
project(hidapi)

add_library(hidapi hidapi/hidapi.h)

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@Orphis
Copy link
Member

Orphis commented Apr 29, 2017

Can we merge this?

@Orphis
Copy link
Member

Orphis commented May 3, 2017

Ping!

@lioncash
Copy link
Member

lioncash commented May 3, 2017

Sorry for the delay, had to call in the lads to do some line repair to respond with this pong

@lioncash lioncash merged commit f3052b7 into dolphin-emu:master May 3, 2017
@ligfx ligfx deleted the cmakehidapi branch May 24, 2017 21:48
@shuffle2
Copy link
Contributor

shuffle2 commented Jun 2, 2017

fwiw, once files are in git, removing them doesn't save much :P (re: "Remove HIDAPI Autotools build system and unused files") imo it's more annoying to wind up with some derivative of the external.

@vladfi1
Copy link
Contributor

vladfi1 commented Dec 11, 2017

This breaks the build on my cluster :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants