mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Remove 'no relevant classes' moc warning
This commit is contained in:
parent
b6f572578e
commit
e4eeb9cce9
8 changed files with 19 additions and 50 deletions
|
@ -80,10 +80,6 @@ foreach (f ${ALL})
|
|||
list (APPEND files "${f}")
|
||||
list (APPEND COMPONENT_QT_FILES "${f}")
|
||||
endforeach (f)
|
||||
file (GLOB MOC_H "${dir}/${u}.hpp")
|
||||
foreach (fi ${MOC_H})
|
||||
list (APPEND COMPONENT_MOC_FILES "${fi}")
|
||||
endforeach (fi)
|
||||
endforeach (u)
|
||||
source_group ("components\\${dir}" FILES ${files})
|
||||
endmacro (add_component_qt_dir)
|
||||
|
@ -99,7 +95,6 @@ endmacro (add_unit)
|
|||
|
||||
macro (add_qt_unit project dir unit)
|
||||
add_file (${project} _HDR ${comp} "${dir}/${unit}.hpp")
|
||||
add_file (${project} _HDR_QT ${comp} "${dir}/${unit}.hpp")
|
||||
add_file (${project} _SRC ${comp} "${dir}/${unit}.cpp")
|
||||
endmacro (add_qt_unit)
|
||||
|
||||
|
@ -109,7 +104,6 @@ endmacro (add_hdr)
|
|||
|
||||
macro (add_qt_hdr project dir unit)
|
||||
add_file (${project} _HDR ${comp} "${dir}/${unit}.hpp")
|
||||
add_file (${project} _HDR_QT ${comp} "${dir}/${unit}.hpp")
|
||||
endmacro (add_qt_hdr)
|
||||
|
||||
macro (opencs_units dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue