misc/quazip/CMakeLists.txt
author sheepluva
Tue, 04 Sep 2012 13:18:26 +0200
changeset 7669 a85e1c167b69
parent 7256 5b97b9946cde
permissions -rw-r--r--
I didn't want to do this since it seems less clean, but... moving the stats-fix into CheckForWin, since that function is the one sending the damage stats (whyyyy?) therefore it's not sufficient to update stats after calling it, some of the stats won't be transfered to frontend then
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)
7256
5b97b9946cde CROSSAPPLE ftw
koda
parents: 5752
diff changeset
     4
if(NOT CROSSAPPLE)
5b97b9946cde CROSSAPPLE ftw
koda
parents: 5752
diff changeset
     5
    include(${QT_USE_FILE})
5b97b9946cde CROSSAPPLE ftw
koda
parents: 5752
diff changeset
     6
endif()
5752
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     7
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     8
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     9
file(GLOB SRCS "*.c" "*.cpp")
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    10
file(GLOB PUBLIC_HEADERS "*.h")
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    11
qt4_wrap_cpp(MOC_SRCS "quazipfile.h")
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    12
set(SRCS ${SRCS} ${MOC_SRCS})
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    13
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    14
add_library(quazip STATIC ${SRCS})