-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
37 lines (34 loc) · 1.04 KB
/
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
36
37
cmake_minimum_required(VERSION 3.5.1)
file(STRINGS version version)
list(GET version 0 version)
string(TIMESTAMP date %Y%m%d)
string(APPEND version ".${date}")
project(meteor VERSION ${version})
# enable folder scope in ide
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
add_subdirectory(scripts)
if(MSVC)
include(msvc_helper)
enable_compile_flag_mt()
enable_unicode_charactor()
disable_minmax_macro()
set_msvc_warning_level(4)
endif(MSVC)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib CACHE PATH "lib dir")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib CACHE PATH "lib dir")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin CACHE PATH "exe dir")
set(CMAKE_DEBUG_POSTFIX "d")
option(MT_ENABLE_EXPERIMENAL_FUNC "Private" OFF)
include_directories(${PROJECT_SOURCE_DIR})
include(imgui)
include(zlib)
include(png)
if(MT_ENABLE_EXPERIMENAL_FUNC)
include(protobuf)
include(grpc)
include(tensorflow)
endif()
add_subdirectory(ll_graphic)
add_subdirectory(ll_codec)
add_subdirectory(decoder)
add_subdirectory(meteor)