CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(PFSUtil)

IF(NOT CMAKE_BUILD_TYPE)
    SET(CMAKE_BUILD_TYPE "Debug")
ENDIF(NOT CMAKE_BUILD_TYPE)

IF(WIN32)
	ADD_DEFINITIONS(/D _CRT_SECURE_NO_WARNINGS)
ENDIF(WIN32)

SET(ZLIB_ROOT, "${CMAKE_CURRENT_SOURCE_DIR}/zlib")
FIND_PACKAGE(ZLIB REQUIRED)
INCLUDE_DIRECTORIES("${ZLIB_INCLUDE_DIRS}")


ADD_SUBDIRECTORY(Common)
ADD_SUBDIRECTORY(PFSList)
