terom@57: # add our include path terom@57: include_directories (${evsql_SOURCE_DIR}/include ${LibEvent_INCLUDE_DIRS}) terom@57: terom@57: # define our source code modules terom@57: set (LIB_SOURCES "lib/log.c") terom@57: set (EVPQ_SOURCES evpq.c) terom@57: set (EVSQL_SOURCES core.c util.c) terom@57: terom@57: # XXX: silly cmake does silly things when you SET with only one arg terom@58: set (EVSQL_SOURCES lib/log.c evpq.c core.c query.c result.c util.c) terom@57: terom@57: # add our library terom@58: add_library (evsql STATIC ${EVSQL_SOURCES}) terom@57: target_link_libraries (evsql ${LibEvent_LIBRARIES}) terom@57: