blob: 5ea79bd4f8cb171b701610c00c82454d5e052936 [file] [log] [blame]
Courtney Goeltzenleuchter2220a3b2014-07-24 08:36:15 -06001# The name of our project is "XGL". CMakeLists files in this project can
2# refer to the root source directory of the project as ${XGL_SOURCE_DIR} and
3# to the root binary directory of the project as ${XGL_BINARY_DIR}.
4cmake_minimum_required (VERSION 2.6)
5project (XGL)
6set (XGL_VERSION_MAJOR 0)
7set (XGL_VERSION_MINOR 1)
8
9# Header file for CMake settings
10configure_file (
11 "${PROJECT_SOURCE_DIR}/include/XGLConfig.h.in"
12 "${PROJECT_BINARY_DIR}/XGLConfig.h"
13 )
14
15include_directories("${PROJECT_BINARY_DIR}")
16
17# xgl global includes
18include_directories("${PROJECT_SOURCE_DIR}/include")
19
20# main: Device independent (DI) XGL library
21# drivers: Device dependent (DD) XGL components
22# tests: XGL tests
23add_subdirectory (main)
24add_subdirectory (drivers)
25add_subdirectory (tests)