Posted by Anonymous Fri 2nd Mar 2007 14:35 - Syntax is None/text - 20 views
Download | New Post | Modify | Hide line numbers
  1. $ cat CMakeLists.txt
  2.  
  3. FIND_PACKAGE(Qt3 REQUIRED)
  4.  
  5. ADD_DEFINITIONS(${QT_DEFINITIONS})
  6.  
  7. INCLUDE_DIRECTORIES (
  8.     include
  9.     ${qpxtool_SOURCE_DIR}/lib/qpxscan/include
  10.     ${qpxtool_SOURCE_DIR}/lib/qpxplextor/include
  11.     ${qpxtool_SOURCE_DIR}/lib/qpxpioneer/include
  12.     ${qpxtool_SOURCE_DIR}/lib/qpxtransport/include
  13.     ${CMAKE_CURRENT_BINARY_DIR}
  14.     ${QT_INCLUDE_DIR}
  15. )
  16.  
  17. LINK_DIRECTORIES (
  18.     ${qpxtool_BINARY_DIR}/lib/qpxscan
  19.     ${qpxtool_BINARY_DIR}/lib/qpxplextor
  20.     ${qpxtool_BINARY_DIR}/lib/qpxpioneer
  21.     ${qpxtool_BINARY_DIR}/lib/qpxtransport
  22.     ${QT_LIB_DIR}
  23. )
  24.  
  25. SET (
  26.   qpxtool_ui
  27.     ui/About_ui.ui
  28.     ui/ASDB_ui.ui
  29.     ui/MQChk_ui.ui
  30.     ui/plextor_ext_cx_ui.ui
  31.     ui/QPxTool_ui.ui
  32.     ui/SaveHTML_ui.ui
  33. )
  34.  
  35. #QT_WRAP_UI(qpxtool_ui_h headers_ui sources_ui ${qpxtool_ui})
  36. QT_WRAP_UI(qpxtool_ui_h ${qpxtool_ui})
  37.  
  38. ADD_EXECUTABLE (
  39.   qpxtool
  40.     ${qpxtool_ui_h}
  41.     main.cpp
  42.     watcher.cpp
  43.     About.cpp
  44.     QPxTool.cpp
  45.     SaveHTML.cpp
  46.     plextor/ASDB.cpp
  47.     plextor/MQChk.cpp
  48.     qcheck/plextor_ext_cx.cpp
  49.     qcheck/test_threads.cpp
  50. )
  51.  
  52. TARGET_LINK_LIBRARIES(
  53.   qpxtool
  54.     qpxtransport qpxplextor qpxplextor qpxscan
  55.     ${QT3_LIBRARIES}
  56. )
  57.  
  58. INSTALL(TARGETS qpxtool DESTINATION bin)

PermaLink to this entry https://pastebin.co.uk/11293
Posted by Anonymous Fri 2nd Mar 2007 14:35 - Syntax is None/text - 20 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0