add_definitions(-DBOOST_ALL_NO_LIB -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})

aux_source_directory(libs/program_options/src BOOST_PROGRAM_OPTIONS_SRCS)
add_library(boost_program_options ${BOOST_PROGRAM_OPTIONS_SRCS})

aux_source_directory(libs/regex/src BOOST_REGEX_SRCS)
add_library(boost_regex ${BOOST_REGEX_SRCS})

aux_source_directory(libs/signals/src BOOST_SIGNALS_SRCS)
add_library(boost_signals ${BOOST_SIGNALS_SRCS})

aux_source_directory(libs/system/src BOOST_SYSTEM_SRCS)
add_library(boost_system ${BOOST_SYSTEM_SRCS})

if(BUILD_SHARED_LIBS)
		 install(TARGETS boost_program_options boost_signals DESTINATION lib)
endif(BUILD_SHARED_LIBS)
