~artem-anufrij/metronome/trunk

1 by Artem Anufrij
init
1
set (CONFIG_FILE ${CMAKE_CURRENT_BINARY_DIR}/Config.vala)
2
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Config.vala.cmake ${CONFIG_FILE})
3
4
vala_precompile (VALA_C ${CMAKE_PROJECT_NAME}
5
    ${CONFIG_FILE}
23 by Artem Anufrij
added Presets
6
    Objects/Click.vala
7
    Objects/Preset.vala
8
    Widgets/Presets.vala
9
    Widgets/PresetRow.vala
10
    Widgets/Volumes.vala
6 by Artem Anufrij
Settings support
11
    Settings.vala
1 by Artem Anufrij
init
12
    Metronome.vala
13
PACKAGES
14
    granite
15
    gtk+-3.0
25 by Artem Anufrij
gstreamer0.10 -> 1.0
16
    gstreamer-1.0
1 by Artem Anufrij
init
17
OPTIONS
18
    --vapidir=${CMAKE_SOURCE_DIR}/vapi
19
    --target-glib=2.32
20
    --thread
21
)
22
23
add_executable (${CMAKE_PROJECT_NAME} ${VALA_C})
24
target_link_libraries (${CMAKE_PROJECT_NAME} ${DEPS_LIBRARIES})
25
26
# Installation
27
install (TARGETS ${CMAKE_PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})