mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-05 02:58:40 +00:00
18 lines
526 B
CMake
Executable File
18 lines
526 B
CMake
Executable File
cmake_minimum_required(VERSION 2.8)
|
|
project( OnlineResourceWatcherServerApp )
|
|
add_executable( OnlineResourceWatcherServerApp main.cpp )
|
|
|
|
include_directories( /usr/include )
|
|
link_directories( /usr/lib )
|
|
|
|
# SQLite3
|
|
target_link_libraries( OnlineResourceWatcherServerApp sqlite3 )
|
|
|
|
# Libcurl
|
|
target_link_libraries( OnlineResourceWatcherServerApp libcurl )
|
|
|
|
# MariaDB
|
|
target_link_libraries( OnlineResourceWatcherServerApp mysql )
|
|
|
|
# cmake -DCMAKE_BUILD_TYPE=Debug -DOMS_DEBUG=true
|
|
# cmake -DCMAKE_BUILD_TYPE=Release -DOMS_DEMO=true |