Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 25, 2010, 11:58:25 PM (14 years ago)
Author:
rgrieder
Message:

Changed source file handling procedure, especially for Qt moc files.

Location:
code/forks/sandbox_qt/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/forks/sandbox_qt/src/CMakeLists.txt

    r7423 r7805  
    8080################## Executable ###################
    8181
     82SET_SOURCE_FILES(ORXONOX_MAIN_SRC_FILES Orxonox.cc)
     83
    8284INCLUDE_DIRECTORIES(
    8385  ${CMAKE_CURRENT_SOURCE_DIR}/libraries
     
    9799    orxonox
    98100  SOURCE_FILES
    99     Orxonox.cc
     101    ${ORXONOX_MAIN_SRC_FILES}
    100102  OUTPUT_NAME orxonox
    101103)
  • code/forks/sandbox_qt/src/orxonox/CMakeLists.txt

    r7430 r7805  
    2020INCLUDE_DIRECTORIES(
    2121  ${CMAKE_SOURCE_DIR}/src/libraries
    22   ${CMAKE_CURRENT_SOURCE_DIR}
     22  # Make Qt UIC generated header files visible
     23  ${CMAKE_CURRENT_BINARY_DIR}
    2324)
    2425
    2526SET_SOURCE_FILES(ORXONOX_SRC_FILES
    2627  Main.cc
    27   MainWindow.cc
     28
     29  QT MainWindow.h       MainWindow.cc
     30  QT MainWindow.ui
    2831)
    2932
     
    3134
    3235ORXONOX_ADD_LIBRARY(orxonox
    33   FIND_HEADER_FILES
    34   QT_MOC_FILES
    35     MainWindow.h
    36   QT_UIC_FILES
    37     MainWindow.ui
    3836  LINK_LIBRARIES
    3937    ${QT_QTCORE_LIBRARY}
Note: See TracChangeset for help on using the changeset viewer.