misc/quazip/CMakeLists.txt
author nemo
Tue, 26 Jun 2012 23:02:25 -0400
changeset 7307 f830a65d6a6d
parent 7256 5b97b9946cde
permissions -rw-r--r--
This is necessary because commands can contain 0s, and StrPas used by LuaPas halts at the first 0. It might be necessary to change the base string handling.
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})