PageRenderTime 129ms CodeModel.GetById 60ms app.highlight 0ms RepoModel.GetById 60ms app.codeStats 7ms

/src/breakpad/CrashReporter/CMakeLists.txt

http://github.com/tomahawk-player/tomahawk
CMake | 22 lines | 16 code | 6 blank | 0 comment | 0 complexity | aa9b6d1ea5d0454f850fe4d1538c5e54 MD5 | raw file
 1PROJECT( CrashReporter )
 2cmake_policy(SET CMP0017 NEW)
 3
 4FIND_PACKAGE( Qt4 REQUIRED )
 5SET( QT_USE_QTNETWORK TRUE )
 6
 7
 8SET( crashreporter_SOURCES main.cpp CrashReporter.cpp )
 9SET( crashreporter_UI CrashReporter.ui )
10SET( crashreporter_RC ../../../resources.qrc )
11
12QT4_WRAP_UI( crashreporter_UI_HEADERS ${crashreporter_UI} )
13QT4_ADD_RESOURCES( crashreporter_RC_RCC ${crashreporter_RC} )
14
15INCLUDE( ${QT_USE_FILE} )
16INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ../../libtomahawk )
17ADD_DEFINITIONS( ${QT_DEFINITIONS} )
18
19ADD_EXECUTABLE( tomahawk_crash_reporter WIN32 ${crashreporter_SOURCES} ${crashreporter_HEADERS_MOC} ${crashreporter_UI_HEADERS} ${crashreporter_RC_RCC} )
20TARGET_LINK_LIBRARIES( tomahawk_crash_reporter ${QT_LIBRARIES} tomahawklib )
21set_target_properties( tomahawk_crash_reporter PROPERTIES AUTOMOC ON)
22install(TARGETS tomahawk_crash_reporter RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})