1 FILE(GLOB SRC *.cpp *.h)
2 FILE(GLOB HEADERS ../../include/nel/net/*.h)
3 FILE(GLOB NET_MANAGER "net_manager.*")
4 LIST(REMOVE_ITEM SRC ${NET_MANAGER})
6 NL_TARGET_LIB(nelnet ${HEADERS} ${SRC})
10 INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS})
11 ADD_DEFINITIONS(-DNL_USE_GTK)
15 TARGET_LINK_LIBRARIES(nelnet nelmisc)
16 NL_DEFAULT_PROPS(nelnet "NeL, Library: NeL Net")
17 NL_ADD_RUNTIME_FLAGS(nelnet)
19 NL_ADD_LIB_SUFFIX(nelnet)
22 ADD_NATIVE_PRECOMPILED_HEADER(nelnet ${CMAKE_CURRENT_SOURCE_DIR}/stdnet.h ${CMAKE_CURRENT_SOURCE_DIR}/stdnet.cpp)
27 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
28 INSTALL(TARGETS nelnet LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)