src/CMakeLists.txt
branchv_0
changeset 27 8c5364450a46
parent 23 ff4a1c07a481
child 28 04f1ac8a931b
equal deleted inserted replaced
26:97847181b724 27:8c5364450a46
     1 set(EXECUTABLE_FILE "relpipe-out-chart")
     1 set(EXECUTABLE_FILE "relpipe-out-gui")
     2 
     2 
     3 # Qt libraries:
     3 # Qt libraries:
     4 set(CMAKE_INCLUDE_CURRENT_DIR ON) # Find includes in corresponding build directories
     4 set(CMAKE_INCLUDE_CURRENT_DIR ON) # Find includes in corresponding build directories
     5 set(CMAKE_AUTOMOC ON) # Instruct CMake to run moc automatically when needed
     5 set(CMAKE_AUTOMOC ON) # Instruct CMake to run moc automatically when needed
     6 set(CMAKE_AUTOUIC ON) # Create code from a list of Qt designer ui files
     6 set(CMAKE_AUTOUIC ON) # Create code from a list of Qt designer ui files
    20 
    20 
    21 # Executable output:
    21 # Executable output:
    22 add_executable(
    22 add_executable(
    23 	${EXECUTABLE_FILE}
    23 	${EXECUTABLE_FILE}
    24 	QtRelationalReaderStringHadler.h # QObjects must be listed here (including them from other files is not enough)
    24 	QtRelationalReaderStringHadler.h # QObjects must be listed here (including them from other files is not enough)
       
    25 	#RelpipeChartWidget.h
    25 	RelpipeTableModel.h
    26 	RelpipeTableModel.h
    26 	RelpipeChartMainWindow.ui
    27 	RelpipeChartMainWindow.ui
    27 	RelpipeChartMainWindow.cpp
    28 	RelpipeChartMainWindow.cpp
    28 	relpipe-out-chart.cpp
    29 	relpipe-out-chart.cpp
    29 )
    30 )