forked from apple/turicreate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
50 lines (43 loc) · 1.57 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
38
39
40
41
42
43
44
45
46
47
48
49
50
project(unity)
set(EXTENSIONS_LIST)
macro(make_extension NAME)
list(APPEND EXTENSIONS_LIST "${NAME}")
message(STATUS "Registering Extension: " ${NAME})
make_library(
${NAME}
${ARGV}
REQUIRES
unity_shared
boost
numerics
COMPILE_FLAGS_EXTRA_GCC
-Wno-unknown-pragmas # NOTE: used for auto-generated protobuf source files
-Wno-unused-function # NOTE: used for auto-generated protobuf source files
SHARED)
endmacro()
#----------------------------
make_extension(additional_sframe_utilities SOURCES additional_sframe_utilities.cpp)
# make_extension(grouped_sframe SOURCES grouped_sframe.cpp)
make_extension(internal_demo SOURCES internal_demo.cpp)
make_extension(json SOURCES
json/decoder.cpp
json/encoder.cpp
json/json.cpp
)
#----------------------------
make_extension(xgboost_extension SOURCES ../toolkits/supervised_learning/xgboost_extension.cpp)
make_extension(coreml_extension SOURCES ../toolkits/coreml_export/coreml_extension.cpp)
#----------------------------
make_extension(content_interpretation_extensions SOURCES
../toolkits/feature_engineering/content_interpretation_extensions.cpp)
make_extension(dictionary_transformation_extensions SOURCES
../toolkits/feature_engineering/transform_to_flat_dict_extensions.cpp)
#----------------------------
# make_extension(timeseries
# SOURCES
# timeseries/grouped_timeseries.cpp
# timeseries/registration.cpp
# timeseries/timeseries.cpp
# )
# target_link_libraries(timeseries PUBLIC grouped_sframe)
set_property(DIRECTORY PROPERTY EXTENSIONS_LIST "${EXTENSIONS_LIST}")