PROJECT(DD_Client) include_directories( ${CMAKE_HOME_DIRECTORY}/src/INCLUDE/ ) #Library configuration file( GLOB_RECURSE source_files ./* ) ADD_LIBRARY( DD_Client SHARED ${source_files} ) target_link_libraries( DD_Client ${CMAKE_THREAD_LIBS_INIT} ) install (TARGETS DD_Client DESTINATION lib)