1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
add_library(os STATIC Mutex.cxx Thread.cxx os.cxx) target_include_directories(os PUBLIC ${CMAKE_SOURCE_DIR}/common) target_link_libraries(os rdr) if(UNIX) target_link_libraries(os pthread) endif() if(UNIX) libtool_create_control_file(os) endif()