Annotation of hatari/tools/hmsa/CMakeLists.txt, revision 1.1.1.2

1.1       root        1: 
                      2: include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src/includes
                      3:                    ${CMAKE_SOURCE_DIR}/src/debug ${SDL_INCLUDE_DIR})
                      4: 
1.1.1.2 ! root        5: if(ZLIB_FOUND)
        !             6:        include_directories(${ZLIB_INCLUDE_DIR})
        !             7: endif(ZLIB_FOUND)
        !             8: 
1.1       root        9: add_executable(hmsa hmsa.c floppy.c ../../src/file.c ../../src/unzip.c)
                     10: 
                     11: target_link_libraries(hmsa Floppy)
                     12: 
                     13: if(MATH_FOUND)
                     14:        target_link_libraries(hmsa ${MATH_LIBRARY})
                     15: endif(MATH_FOUND)
                     16: 
                     17: if(ZLIB_FOUND)
                     18:        target_link_libraries(hmsa ${ZLIB_LIBRARY})
                     19: endif(ZLIB_FOUND)
                     20: 
                     21: install(TARGETS hmsa RUNTIME DESTINATION ${BINDIR})
1.1.1.2 ! root       22: 
        !            23: # if(UNIX)
        !            24:        add_custom_target(hmsa_manpage ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/hmsa.1.gz)
        !            25:        add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hmsa.1.gz
        !            26:                COMMAND gzip -c -9 ${CMAKE_CURRENT_SOURCE_DIR}/hmsa.1 > ${CMAKE_CURRENT_BINARY_DIR}/hmsa.1.gz
        !            27:                DEPENDS hmsa.1)
        !            28:        INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/hmsa.1.gz DESTINATION ${MANDIR})
        !            29: # endif(UNIX)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.