#mkisofs tool for creating a binary iso image. if (WIN32) # #mkisofs 3.0.2a09 built with cmake scripts taken from the ReactOS distribution #https://netix.dl.sourceforge.net/project/reactos/ReactOS/0.4.11/ReactOS-0.4.11-src.zip #under sdk/tools/mkisofs # ExternalProject_Add ( mkisofs PREFIX ${CMAKE_INSTALL_PREFIX} #URL https://downloads.sourceforge.net/cdrtools/cdrtools-3.02a09.tar.bz2 #URL_MD5 1e224a6adbbe4ad40047b9fddbb0e60c #The files in the SOURCE_DIR originate from #https://downloads.sourceforge.net/cdrtools/cdrtools-3.02a09.tar.bz2 #and could have been pulled from the URL above if it was not for the sad #fact that some of the file names in that archive contain characters that are #illegal on Windows. The files under the SOURCE_DIR are patched with a few #slightly modified files taken from ReactOS as mentioned above. See version #log to understand which files were updated from ReactOS. SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS:BOOL=OFF ) endif (WIN32) if (UNIX) #Rely on installation via the package manager. #You can then invoke mkisofs as /usr/bin/genisoimage #sudo apt-get install genisoimage ExternalProject_Add ( mkisofs PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 DOWNLOAD_COMMAND "" UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND /usr/bin/genisoimage --version INSTALL_COMMAND "" ) endif (UNIX)