1PROJECT(CouchbasePythonClient)
2CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
3
4# Generate the python wrappers
5CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/wrapper/wrapper
6                ${CMAKE_CURRENT_BINARY_DIR}/wrapper/cbdocloader)
7
8INSTALL(PROGRAMS
9        ${CMAKE_CURRENT_BINARY_DIR}/wrapper/cbdocloader
10        DESTINATION bin)
11
12INSTALL(PROGRAMS
13        cbdocloader
14        DESTINATION lib/python)
15
16INSTALL(FILES
17        beer-sample.zip
18        gamesim-sample.zip
19        DESTINATION samples)
20