File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11set (LIBWIF_SOURCES
22 classifiers/classifier.cpp
33 classifiers/ipPrefixClassifier.cpp
4- classifiers/lightGBMClassifier.cpp
54 classifiers/mlpackClassifier.cpp
65 classifiers/regexClassifier.cpp
76 classifiers/scikitMlClassifier.cpp
@@ -10,7 +9,6 @@ set(LIBWIF_SOURCES
109 combinators/majorityCombinator.cpp
1110 combinators/sumCombinator.cpp
1211 filesystem/fileModificationChecker.cpp
13- ml/lightGBMWrapper.cpp
1412 ml/mlpackModels/decisionTreeModel.cpp
1513 ml/mlpackModels/hoeffdingTreeModel.cpp
1614 ml/mlpackModels/linearSVMModel.cpp
@@ -47,6 +45,13 @@ if(BUILD_WITH_UNIREC)
4745 )
4846endif ()
4947
48+ if (BUILD_WITH_LIGHTGBM)
49+ list (APPEND LIBWIF_SOURCES
50+ classifiers/lightGBMClassifier.cpp
51+ ml/lightGBMWrapper.cpp
52+ )
53+ endif ()
54+
5055add_library (wif SHARED ${LIBWIF_SOURCES} )
5156target_link_libraries (wif PRIVATE ${LIBWIF_LIBS} )
5257target_include_directories (wif PUBLIC ${CMAKE_SOURCE_DIR} /include )
You can’t perform that action at this time.
0 commit comments