misc/quazip/CMakeLists.txt
author nemo
Mon, 12 Sep 2011 19:30:18 -0400
changeset 5883 a6d764786905
parent 5752 ea95ee97c805
child 7256 5b97b9946cde
permissions -rw-r--r--
Disable GL SetAttributes for Windows due to many testers with problems. This restores .15 behaviour. If we can find willing testers, perhaps we can narrow down which attribute was the problem. Also reenable F12 bind for Windows.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5752
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     1
set(QT_USE_QTCORE TRUE)
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     2
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     3
find_package(Qt4 REQUIRED)
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     4
include(${QT_USE_FILE})
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     5
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     6
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     7
file(GLOB SRCS "*.c" "*.cpp")
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     8
file(GLOB PUBLIC_HEADERS "*.h")
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     9
qt4_wrap_cpp(MOC_SRCS "quazipfile.h")
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    10
set(SRCS ${SRCS} ${MOC_SRCS})
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    11
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    12
add_library(quazip STATIC ${SRCS})