5 cmake_minimum_required( VERSION 2.6 )
34 #| Baulk Common Libraries
36 ${PROJECT_SOURCE_DIR}/../Common
39 #| Baulk Information Server Libraries
40 include_directories( Server )
43 add_definitions( -Wall -ggdb )
44 find_package( Qt4 REQUIRED )
45 set( QT_USE_QTNETWORK 1 )
46 set( QT_USE_QTTEST 1 )
47 include( ${QT_USE_FILE} )
48 QT4_WRAP_CPP( MOC_SRCS ${HDRS} )
50 #| Create the Executable
51 add_executable( ${EXEC} ${SRCS} ${MOC_SRCS} )
52 set( EXECUTABLE_OUTPUT_PATH
53 ${PROJECT_BINARY_DIR}/../../bin
58 add_library( ${LIB} STATIC ${SRCS} ${MOC_SRCS} )
61 #| Link Needed Libraries
62 target_link_libraries( ${EXEC}
64 LibraryLoader # From Common
65 BaulkClient # From Server
66 BaulkWidget # From Common