# List the source files of classifiers
set(SRCS main.cpp
         MLClassifiers/Classifier.cpp
         MLClassifiers/EGreedyBoostMH.cpp
         MLClassifiers/Exp3pBoostMH.cpp
         MLClassifiers/LazyBoostMH.cpp
         MLClassifiers/TastingBoostMH.cpp
         MLClassifiers/UCBBoostMH.cpp
         MLClassifiers/Utils.cpp
         MLInputSet/FileInputSet.cpp
         MLInputSet/InputSet.cpp)

# Create and link the executable
add_executable(classifiers ${SRCS})

set_target_properties(classifiers PROPERTIES INSTALL_RPATH "."
                                             BUILD_WITH_INSTALL_RPATH ON)

if (NOT WIN32)
    set_target_properties(classifiers PROPERTIES COMPILE_FLAGS "-fPIC")
endif()
