-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
34 lines (27 loc) · 1004 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# CMake configuration file for SimD
#
cmake_minimum_required (VERSION 2.6)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
project (SimD)
# project version
SET( ${PROJECT_NAME}_MAJOR_VERSION 0)
SET( ${PROJECT_NAME}_MINOR_VERSION 9)
SET( ${PROJECT_NAME}_PATCH_LEVEL 0)
SET( ${PROJECT_NAME}_VERSION 0.10.0)
SET( ${PROJECT_NAME}_SOVERSION 0.10.0)
# project options
OPTION( BUILD_SHARED_LIBS "Set to OFF to build static libraries" ON )
#OPTION( INSTALL_DOC "Set to OFF to skip build/install Documentation" ON )
# set default install prefix to project root directory
IF( CMAKE_INSTALL_PREFIX STREQUAL "/usr/local" )
SET( CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}/local" )
ENDIF()
find_package (Doxygen)
if (DOXYGEN_FOUND)
message(STATUS "Generating SimD Documentation")
exec_program("${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/doxygen.cfg")
else (DOXYGEN_FOUND)
message(STATUS "Doxygen not found, I cannot generate the documentation")
endif (DOXYGEN_FOUND)
add_subdirectory (src/dds)