Clementine-audio-player-Mac.../doc/python/CMakeLists.txt

25 lines
602 B
CMake

cmake_minimum_required(VERSION 2.6)
include_directories(${LIBGPOD_INCLUDE_DIRS})
include_directories(${PYTHON_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../src)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../../src)
set(SOURCES
generate_python_docs.cpp
)
set(RESOURCES
generate_python_docs.qrc
)
qt4_add_resources(QRC ${RESOURCES})
add_executable(generate_python_docs EXCLUDE_FROM_ALL ${SOURCES} ${QRC})
target_link_libraries(generate_python_docs clementine_lib)
add_custom_target(pythondocs
generate_python_docs
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)