From c9259a2b588e7472b0a131237b39fc99e395e820 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Mon, 5 Dec 2011 15:11:07 +0100 Subject: add cpack stuff --- src/fbgui/CMakeLists.txt | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'src/fbgui') diff --git a/src/fbgui/CMakeLists.txt b/src/fbgui/CMakeLists.txt index 434428f..8b19777 100644 --- a/src/fbgui/CMakeLists.txt +++ b/src/fbgui/CMakeLists.txt @@ -14,26 +14,27 @@ endif(QT4_FOUND) set(QT_USE_QTNETWORK TRUE) set(QT_USE_QTWEBKIT TRUE) -file(GLOB FBGUI_SOURCES src/fbgui/*.cpp) -file(GLOB FBGUI_HEADERS src/fbgui/*.h src/common/*.h) +file(GLOB FBGUI_SOURCES *.cpp) +file(GLOB FBGUI_HEADERS *.h ../common/*.h) file(GLOB FBGUI_MOC_HEADERS -src/fbgui/downloadmanager.h -src/fbgui/interfaceconfiguration.h -src/fbgui/javascriptinterface.h -src/fbgui/ndgui.h -src/fbgui/networkdiscovery.h -src/fbgui/networkmanager.h -src/fbgui/fbgui.h) -file(GLOB FBGUI_UIS src/fbgui/*.ui) -file(GLOB FBGUI_RCS src/fbgui/*.qrc) +downloadmanager.h +interfaceconfiguration.h +javascriptinterface.h +ndgui.h +networkdiscovery.h +networkmanager.h +fbgui.h) +file(GLOB FBGUI_UIS *.ui) +file(GLOB FBGUI_RCS *.qrc) include_directories(${CMAKE_CURRENT_BINARY_DIR} /usr/include/ - ${QT_INCLUDES} - ${LOG4CXX_INCLUDES} - ${LIBSYSFS_INCLUDES} - ${LIBNL_INCLUDES} - ${LIBUSB_INCLUDES} + ../customdhcpcd/ + ${QT_INCLUDE_DIRS} + ${LOG4CXX_INCLUDE_DIRS} + ${LIBSYSFS_INCLUDE_DIRS} + ${LIBNL_INCLUDE_DIRS} + ${LIBUSB_INCLUDE_DIRS} ) include(${QT_USE_FILE}) @@ -62,3 +63,5 @@ target_link_libraries(fbgui ${LIBUSB_LIBRARIES} customdhcpcd ) + +install(TARGETS fbgui RUNTIME DESTINATION bin) -- cgit v1.2.3-55-g7522