summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: acce9663b6f19b5bfdc32a7c5d0d373ddf2a50ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries")

add_subdirectory(Core)
add_subdirectory(Net)
add_subdirectory(Common)
add_subdirectory(Server)
add_subdirectory(Daemon)
add_subdirectory(Client)
add_subdirectory(modules)

include_directories(${INCLUDES}) 

add_executable(mad-server mad-server.cpp)
target_link_libraries(mad-server Server)

add_executable(mad mad.cpp)
target_link_libraries(mad Daemon)

add_executable(madc madc.cpp)
target_link_libraries(madc Client ${READLINE_LIBRARY})