forked from eoma/gm-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGmEngineConfig.cmake.in
24 lines (18 loc) · 960 Bytes
/
GmEngineConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# - Config file for the GM Engine package
# It defines the following variables
# GM_ENGINE_INCLUDE_DIRS - include directories for GM Engine
# GM_ENGINE_LIBRARIES - libraries to link against
# GM_ENGINE_SOURCE_DIR - where do the actual source reside?
# Compute paths
get_filename_component(GM_ENGINE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(GM_ENGINE_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
set(GM_ENGINE_SOURCE_DIR "@CONF_SOURCE_DIR@")
# Definitions
set(GM_ENGINE_DEFINITIONS @CONF_DEFINITIONS@)
# Set path to script setting up compiler specific options
set(GM_ENGINE_COMPILER_SETUP_SCRIPT "${GM_ENGINE_CMAKE_DIR}/CompilerSetup.cmake")
set(GM_ENGINE_RESOURCE_DIR "${GM_ENGINE_SOURCE_DIR}/resources")
# Our library dependencies (contains definitions for IMPORTED targets)
include("${GM_ENGINE_CMAKE_DIR}/GmEngineTargets.cmake")
# These are IMPORTED targets created by GM EngineTargets.cmake
set(GM_ENGINE_LIBRARIES Application Framework Core)