-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
35 lines (24 loc) · 847 Bytes
/
CMakeLists.txt
File metadata and controls
35 lines (24 loc) · 847 Bytes
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
34
cmake_minimum_required (VERSION 3.2.3)
project (Ustatistics C)
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
message(SEND_ERROR "In-source builds are not allowed.")
endif ()
set(CMAKE_VERBOSE_MAKEFILE ON)
set(CMAKE_COLOR_MAKEFILE ON)
# Remove 'lib' prefix for shared libraries on Windows
if (WIN32)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
endif ()
find_package(GSL REQUIRED)
include_directories(${GSL_INCLUDE_DIR})
# ---
# sub-projects.
# core Ustatistics component; builds a static library.
add_subdirectory(core)
add_subdirectory(regression)
add_subdirectory(standardExamplesUstatistics)
# example executable containing the concrete dataset
add_subdirectory(concreteDatasetExample)
# example executable containing a demo app that computes U-statistics on random Gaussian data
add_subdirectory(randomGaussianExample)