PageRenderTime 102ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 60ms app.codeStats 0ms

/src/libtomahawk/thirdparty/quazip/quazip/CMakeLists.txt

http://github.com/tomahawk-player/tomahawk
CMake | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 84b18b2845bb44cab62514d0c0e6af32 MD5 | raw file
 1file(GLOB SRCS "*.c" "*.cpp")
 2file(GLOB PUBLIC_HEADERS "*.h")
 3qt4_wrap_cpp(MOC_SRCS ${PUBLIC_HEADERS})
 4set(SRCS ${SRCS} ${MOC_SRCS})
 5
 6add_definitions( -DQUAZIP_BUILD )
 7
 8IF(WIN32)
 9    add_library(quazip SHARED ${SRCS})
10ELSE()
11    add_library(quazip STATIC ${SRCS})
12ENDIF()
13
14set_target_properties(quazip PROPERTIES VERSION 1 SOVERSION 1.0.0)
15target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} -lz)