update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b third try
[osm/UI.git] / skyquake / plugins / redundancy / CMakeLists.txt
1 # RIFT_IO_STANDARD_CMAKE_COPYRIGHT_HEADER(BEGIN)
2 # Author(s): Kiran Kashalkar
3 # Creation Date: 08/18/2015
4 # RIFT_IO_STANDARD_CMAKE_COPYRIGHT_HEADER(END)
5
6 ##
7 # DEPENDENCY ALERT
8 # The submodule dependencies must be specified in the
9 # .gitmodules.dep file at the top level (supermodule) directory
10 # If this submodule depends other submodules remember to update
11 # the .gitmodules.dep
12 ##
13
14 cmake_minimum_required(VERSION 2.8)
15
16 ##
17 # Submodule specific includes will go here,
18 # These are specified here, since these variables are accessed
19 # from multiple sub directories. If the variable is subdirectory
20 # specific it must be declared in the subdirectory.
21 ##
22
23 rift_externalproject_add(
24   redundancy
25   DEPENDS skyquake
26   SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
27   CONFIGURE_COMMAND echo
28   BUILD_COMMAND
29     ${CMAKE_CURRENT_BINARY_DIR}/redundancy/redundancy-build/scripts/build.sh
30   INSTALL_COMMAND
31     ${CMAKE_CURRENT_SOURCE_DIR}/scripts/install.sh
32     ${CMAKE_CURRENT_BINARY_DIR}/redundancy/redundancy-build
33     ${CMAKE_INSTALL_PREFIX}/usr/share/rw.ui/skyquake
34     ${RIFT_SUBMODULE_INSTALL_PREFIX}/skyquake/${CMAKE_INSTALL_PREFIX}/usr/share/rw.ui/skyquake
35
36   BCACHE_COMMAND echo
37 )
38