-
Notifications
You must be signed in to change notification settings - Fork 42
/
CMakeLists.txt
35 lines (27 loc) · 773 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
34
35
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(UGM VERSION 0.7.6)
message(STATUS "[Project] ${PROJECT_NAME}")
include(cmake/InitUCMake.cmake)
Ubpa_InitUCMake(VERSION 0.6.4)
Ubpa_InitProject()
option(Ubpa_UGM_UseSIMD "use SIMD" ON)
option(Ubpa_UGM_UseSSE_4_1 "use SSE 4.1" ON)
message(STATUS "Ubpa_UGM_UseSIMD : ${Ubpa_UGM_UseSIMD}")
message(STATUS "Ubpa_UGM_UseSSE_4_1 : ${Ubpa_UGM_UseSSE_4_1}")
if(Ubpa_BuildTest_UGM)
find_package(GTest QUIET)
if(GTest_FOUND)
message(NOTICE "GTest Found")
else()
message(NOTICE "GTest not Found, so we ignore some targets depending on GTest")
endif()
endif()
Ubpa_AddDep(UTemplate 0.7.2)
Ubpa_AddSubDirsRec(include)
Ubpa_AddSubDirsRec(src)
Ubpa_Export(
TARGET
DIRECTORIES
"include"
"vs"
)