Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cmakelists_hidapi.txt « patches « build_environment « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 239b9d88b16083612c549ad87f5191a216a1ef9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 2.8)
project(hidapi)

set(SRC_FILES
	windows/hid.c
)

set(HEADER_FILES
	hidapi/hidapi.h
)
include_directories(hidapi)
add_definitions(-DHID_API_STATIC)
add_library(hidapi STATIC ${SRC_FILES} ${HEADER_FILES})

install(TARGETS hidapi DESTINATION lib)

INSTALL(FILES hidapi/hidapi.h
        DESTINATION "include"
        )