Fixed api error handler for nsr delete
[osm/UI.git] / skyquake / CMakeLists.txt
1
2 #   Copyright 2016 RIFT.IO Inc
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15 #
16 # Author(s): Kiran Kashalkar
17 # Creation Date: 08/18/2015
18
19
20 ##
21 # DEPENDENCY ALERT
22 # The submodule dependencies must be specified in the
23 # .gitmodules.dep file at the top level (supermodule) directory
24 # If this submodule depends other submodules remember to update
25 # the .gitmodules.dep
26 ##
27
28 cmake_minimum_required(VERSION 2.8)
29
30 ##
31 # Submodule specific includes will go here,
32 # These are specified here, since these variables are accessed
33 # from multiple sub directories. If the variable is subdirectory
34 # specific it must be declared in the subdirectory.
35 ##
36
37 rift_externalproject_add(
38   skyquake
39   SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
40   CONFIGURE_COMMAND echo
41   BUILD_COMMAND
42     npm install
43   INSTALL_COMMAND
44     ${CMAKE_CURRENT_SOURCE_DIR}/scripts/install_skyquake.sh
45     ${CMAKE_CURRENT_BINARY_DIR}/skyquake/skyquake-build
46     ${CMAKE_INSTALL_PREFIX}/usr/share/rw.ui/skyquake
47     ${RIFT_SUBMODULE_INSTALL_PREFIX}/skyquake/${CMAKE_INSTALL_PREFIX}/usr/share/rw.ui/skyquake
48
49   BCACHE_COMMAND echo
50 )
51
52
53 ##
54 # Include the subdirs
55 ##
56 set(
57   subdirs
58     plugins
59   )
60 rift_add_subdirs(
61   SUBDIR_LIST 
62     ${subdirs}
63   )