26 lines
467 B
CMake
26 lines
467 B
CMake
add_executable(demo main.cpp)
|
|
target_link_libraries(demo PRIVATE
|
|
matador-core
|
|
matador-orm
|
|
${CMAKE_DL_LIBS}
|
|
${SQLite3_LIBRARIES}
|
|
)
|
|
|
|
add_executable(sandbox sandbox.cpp)
|
|
target_link_libraries(sandbox PRIVATE
|
|
matador-core
|
|
matador-orm
|
|
${CMAKE_DL_LIBS}
|
|
${SQLite3_LIBRARIES}
|
|
)
|
|
|
|
add_executable(work work.cpp)
|
|
target_link_libraries(work PRIVATE
|
|
matador-core
|
|
matador-orm
|
|
${CMAKE_DL_LIBS}
|
|
${PostgreSQL_LIBRARY}
|
|
)
|
|
|
|
add_dependencies(work matador-postgres)
|