CMakeLists.txt
changeset 1041 f7b7996e54f1
parent 1040 5fc90d008821
child 1042 dc9291957a5a
equal deleted inserted replaced
1040:5fc90d008821 1041:f7b7996e54f1
   519 ELSE(DOXYGEN_FOUND)
   519 ELSE(DOXYGEN_FOUND)
   520     MESSAGE(STATUS "Doxygen not found. You won't be able to build documentation.")
   520     MESSAGE(STATUS "Doxygen not found. You won't be able to build documentation.")
   521 ENDIF(DOXYGEN_FOUND)
   521 ENDIF(DOXYGEN_FOUND)
   522 
   522 
   523 IF(UNIX)
   523 IF(UNIX)
   524     ADD_CUSTOM_TARGET(dist ./extras/makedist.sh ${PHYSFS_VERSION} COMMENT "Building source tarball")
   524     ADD_CUSTOM_TARGET(
       
   525         dist
       
   526         ./extras/makedist.sh ${PHYSFS_VERSION}
       
   527         COMMENT "Building source tarball..."
       
   528     )
       
   529     ADD_CUSTOM_TARGET(
       
   530         uninstall
       
   531         "${CMAKE_CURRENT_SOURCE_DIR}/extras/uninstall.sh"
       
   532         WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
       
   533         COMMENT "Uninstall the project..."
       
   534     )
   525 ENDIF(UNIX)
   535 ENDIF(UNIX)
   526 
   536 
   527 MACRO(MESSAGE_BOOL_OPTION _NAME _VALUE)
   537 MACRO(MESSAGE_BOOL_OPTION _NAME _VALUE)
   528     IF(${_VALUE})
   538     IF(${_VALUE})
   529         MESSAGE(STATUS "  ${_NAME}: enabled")
   539         MESSAGE(STATUS "  ${_NAME}: enabled")