Renames.
This commit is contained in:
parent
6646db3d56
commit
151e92a37d
1 changed files with 19 additions and 19 deletions
|
@ -1,14 +1,14 @@
|
|||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SRC_DIR} ${QT_INCLUDES})
|
||||
FILE(GLOB RCERROR_SRC *.cpp)
|
||||
FILE(GLOB RCERROR_HDR *h)
|
||||
FILE(GLOB CRASHREPORT_SRC *.cpp)
|
||||
FILE(GLOB CRASHREPORT_HDR *h)
|
||||
|
||||
SET(RCERROR_MOC_HDR
|
||||
rcerror_socket.h
|
||||
rcerror_widget.h
|
||||
SET(CRASHREPORT_MOC_HDR
|
||||
crash_report_socket.h
|
||||
crash_report_widget.h
|
||||
)
|
||||
|
||||
SET(RCERROR_UI
|
||||
rcerror_widget.ui
|
||||
SET(CRASHREPORT_UI
|
||||
crash_report_widget.ui
|
||||
)
|
||||
|
||||
SET(QT_USE_QTGUI TRUE)
|
||||
|
@ -20,20 +20,20 @@ SET(QT_USE_QTXML FALSE)
|
|||
INCLUDE(${QT_USE_FILE})
|
||||
ADD_DEFINITIONS(${QT_DEFINITIONS})
|
||||
|
||||
QT4_WRAP_CPP(RCERROR_MOC_SRC ${RCERROR_MOC_HDR})
|
||||
QT4_WRAP_UI(RCERROR_UI_HDR ${RCERROR_UI})
|
||||
QT4_WRAP_CPP(CRASHREPORT_MOC_SRC ${CRASHREPORT_MOC_HDR})
|
||||
QT4_WRAP_UI(CRASHREPORT_UI_HDR ${CRASHREPORT_UI})
|
||||
|
||||
SOURCE_GROUP(QtResources FILES ${RCERROR_UI})
|
||||
SOURCE_GROUP(QtGeneratedUiHdr FILES ${RCERROR_UI_HDR})
|
||||
SOURCE_GROUP(QtGeneratedMocQrcSrc FILES ${RCERROR_MOC_SRC})
|
||||
SOURCE_GROUP("source files" FILES ${RCERROR_SRC})
|
||||
SOURCE_GROUP("header files" FILES ${RCERROR_HDR})
|
||||
SOURCE_GROUP(QtResources FILES ${CRASHREPORT_UI})
|
||||
SOURCE_GROUP(QtGeneratedUiHdr FILES ${CRASHREPORT_UI_HDR})
|
||||
SOURCE_GROUP(QtGeneratedMocQrcSrc FILES ${CRASHREPORT_MOC_SRC})
|
||||
SOURCE_GROUP("source files" FILES ${CRASHREPORT_SRC})
|
||||
SOURCE_GROUP("header files" FILES ${CRASHREPORT_HDR})
|
||||
|
||||
ADD_EXECUTABLE(rcerror WIN32 MACOSX_BUNDLE ${RCERROR_SRC} ${RCERROR_MOC_HDR} ${RCERROR_MOC_SRC} ${RCERROR_UI_HDR})
|
||||
TARGET_LINK_LIBRARIES(rcerror ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY})
|
||||
ADD_EXECUTABLE(crash_report WIN32 MACOSX_BUNDLE ${CRASHREPORT_SRC} ${CRASHREPORT_MOC_HDR} ${CRASHREPORT_MOC_SRC} ${CRASHREPORT_UI_HDR})
|
||||
TARGET_LINK_LIBRARIES(crash_report ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY})
|
||||
|
||||
NL_DEFAULT_PROPS(rcerror "Ryzom Core Error Reporter")
|
||||
NL_ADD_RUNTIME_FLAGS(rcerror)
|
||||
NL_DEFAULT_PROPS(crash_report "NeL, Tools, Misc: Crash Report")
|
||||
NL_ADD_RUNTIME_FLAGS(crash_report)
|
||||
|
||||
INSTALL(TARGETS rcerror RUNTIME DESTINATION ${NL_BIN_PREFIX})
|
||||
INSTALL(TARGETS crash_report RUNTIME DESTINATION ${NL_BIN_PREFIX})
|
||||
|
||||
|
|
Loading…
Reference in a new issue