1 2 3 4
ADD_LIBRARY(log_file SHARED log_file.c) ADD_LIBRARY(log_pgsql SHARED log_pgsql.c) TARGET_LINK_LIBRARIES(log_pgsql pq)