Ubuntu Pastebin

Paste from DanChapman at Sun, 4 Jan 2015 17:14:20 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
file(GLOB_RECURSE COMPONENTS_SRCS *.qml *.js)

# make visible in QtCreator
add_custom_target(
    components_src
    ALL SOURCES
    ${COMPONENTS_SRCS}
)

add_custom_target(Components ALL
    COMMAND ${CMAKE_COMMAND} -E copy_directory
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_BINARY_DIR}/ubuntu_component_store
    COMMENT "Copying Components"
)
Download as text