PageRenderTime 17ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/thirdparty/minizip/CMakeLists.txt

http://crashrpt.googlecode.com/
CMake | 20 lines | 8 code | 7 blank | 5 comment | 0 complexity | 1d74d11b600708278e2463c93ee6ea1f MD5 | raw file
 1project(minizip)
 2
 3# Create the list of source files
 4aux_source_directory( . source_files )
 5
 6# Define _UNICODE (use wide-char encoding)
 7add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4127 /wd4131 /wd4100 /wd4189 /wd4244)
 8
 9# Add include dir
10include_directories( ${CMAKE_SOURCE_DIR}/thirdparty/zlib )
11
12fix_default_compiler_settings_()
13
14# Add library build target
15add_library(minizip STATIC ${source_files})
16
17# Add linker input libraries
18target_link_libraries(minizip zlib)
19
20set_target_properties(minizip PROPERTIES DEBUG_POSTFIX d )