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