CMakeLists.txt

changeset 42
9528f8d06962
parent 40
809a75a7113b
child 43
1394901b557a
--- a/CMakeLists.txt	Sat Jun 06 22:20:21 2015 +0300
+++ b/CMakeLists.txt	Sat Jun 06 22:26:05 2015 +0300
@@ -15,7 +15,7 @@
 
 set (ZCINEMA_SOURCES
 	src/cfg.cpp
-	src/config.cpp
+	src/configwindow.cpp
 	src/demo.cpp
 	src/main.cpp
 	src/misc.cpp
@@ -24,7 +24,7 @@
 
 set (ZCINEMA_HEADERS
 	src/cfg.h
-	src/config.h
+	src/configwindow.h
 	src/demo.h
 	src/main.h
 	src/misc.h
@@ -54,13 +54,13 @@
 	qt5_generate_moc (ZCINEMA_MOC ${ZCINEMA_HEADERS})
 	qt5_add_resources (ZCINEMA_QRC ${ZCINEMA_RESOURCES})
 	qt5_wrap_ui (ZCINEMA_FORMS_HEADERS ${ZCINEMA_FORMS})
-	add_executable (${PROJECT_NAME} WIN32 ${ZCINEMA_SOURCES} ${ZCINEMA_MOC}
+	add_executable (${PROJECT_NAME} WIN32 ${ZCINEMA_SOURCES} ${ZCINEMA_HEADERS} ${ZCINEMA_MOC}
 		${ZCINEMA_QRC} ${ZCINEMA_FORMS_HEADERS})
 else()
 	qt4_wrap_cpp (ZCINEMA_MOC ${ZCINEMA_HEADERS})
 	qt4_wrap_ui (ZCINEMA_FORMS_HEADERS ${ZCINEMA_FORMS})
 	qt4_add_resources (ZCINEMA_RCC ${ZCINEMA_RESOURCES})
-	add_executable (${PROJECT_NAME} WIN32 ${ZCINEMA_SOURCES} ${ZCINEMA_RCC}
+	add_executable (${PROJECT_NAME} WIN32 ${ZCINEMA_SOURCES} ${ZCINEMA_HEADERS} ${ZCINEMA_RCC}
 		${ZCINEMA_FORMS_HEADERS} ${ZCINEMA_MOC})
 endif()
 

mercurial