CMake - Build proper Win32 GUI program.
This commit is contained in:
parent
fa535ff3ae
commit
b483221f45
|
@ -119,11 +119,10 @@ QT4_WRAP_CPP(CHECK_MOC_SRCS ${CHECK_HEADERS})
|
|||
# add translations ...
|
||||
QT4_ADD_TRANSLATION(CHECK_QM ${CHECK_TRANS})
|
||||
|
||||
|
||||
# Include binary directory where code from UI files gets created
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
ADD_EXECUTABLE(gui ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_UIS_H}
|
||||
ADD_EXECUTABLE(gui WIN32 ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_UIS_H}
|
||||
${CHECK_RCC_SRCS} ${CHECK_QM})
|
||||
TARGET_LINK_LIBRARIES(gui ${CHECK_LIBS} ${QT_LIBRARIES})
|
||||
|
||||
|
|
Loading…
Reference in New Issue