projects
/
colorflood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4a0e76
)
compile with resources
author
Serge Ziryukin
<ftrvxmtrx@gmail.com>
Tue, 13 Apr 2010 12:20:25 +0000
(15:20 +0300)
committer
Serge Ziryukin
<ftrvxmtrx@gmail.com>
Tue, 13 Apr 2010 12:20:25 +0000
(15:20 +0300)
colorflood/src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/colorflood/src/CMakeLists.txt
b/colorflood/src/CMakeLists.txt
index
40dea92
..
181f65e
100644
(file)
--- a/
colorflood/src/CMakeLists.txt
+++ b/
colorflood/src/CMakeLists.txt
@@
-15,6
+15,7
@@
set(src
field.cpp
main.cpp
window.cpp
+ qrc_colorflood.cxx
)
set(moc
@@
-28,8
+29,10
@@
include(FindQt4)
find_package(Qt4 4.6.2 COMPONENTS QtCore QtGui REQUIRED)
include(${QT_USE_FILE})
-QT4_WRAP_CPP(moc_src ${moc})
+qt4_wrap_cpp(moc_src ${moc})
+qt4_add_translation(colorflood.ts)
+qt4_add_resources(resources colorflood.qrc)
add_definitions(-Wall -Wextra)
-add_executable(colorflood ${moc_src} ${src})
+add_executable(colorflood ${moc_src} ${src} ${res})
target_link_libraries(colorflood ${QT_LIBRARIES})