third_party_vulkan-loader/CMakeLists.txt

30 lines
895 B
CMake
Raw Normal View History

2014-07-24 14:36:15 +00:00
# The name of our project is "XGL". CMakeLists files in this project can
# refer to the root source directory of the project as ${XGL_SOURCE_DIR} and
# to the root binary directory of the project as ${XGL_BINARY_DIR}.
cmake_minimum_required (VERSION 2.6)
project (XGL)
set (XGL_VERSION_MAJOR 0)
set (XGL_VERSION_MINOR 1)
# Header file for CMake settings
configure_file (
"${PROJECT_SOURCE_DIR}/include/XGLConfig.h.in"
"${PROJECT_BINARY_DIR}/XGLConfig.h"
)
include_directories("${PROJECT_BINARY_DIR}")
# xgl global includes
include_directories("${PROJECT_SOURCE_DIR}/include")
2014-08-01 07:31:12 +00:00
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall")
2014-08-01 03:21:23 +00:00
# loader: Generic XGL ICD loader
2014-07-24 14:36:15 +00:00
# main: Device independent (DI) XGL library
# drivers: Device dependent (DD) XGL components
# tests: XGL tests
2014-08-01 03:21:23 +00:00
add_subdirectory (loader)
2014-07-24 14:36:15 +00:00
add_subdirectory (main)
add_subdirectory (drivers)
add_subdirectory (tests)