Diff for /imach/CMakeLists.txt between versions 1.22 and 1.24

version 1.22, 2019/05/22 20:20:22 version 1.24, 2020/02/22 21:01:54
Line 8 Line 8
 # SET (CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebinfo" CACHE STRING "" FORCE)  # SET (CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebinfo" CACHE STRING "" FORCE)
 set(PACKAGE_NAME "imach")  set(PACKAGE_NAME "imach")
 SET(IMACH_VERSION_MAJOR 0)  SET(IMACH_VERSION_MAJOR 0)
 SET(IMACH_VERSION_MINOR 99r19)  SET(IMACH_VERSION_MINOR 99r20)
 SET(IMACH_VERSION_PATCH 0)  SET(IMACH_VERSION_PATCH 0)
 SET(IMACH_VERSION_NOTE "")  SET(IMACH_VERSION_NOTE "")
 SET(IMACH_VERSION ${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR})  SET(IMACH_VERSION ${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR})
Line 48  CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/te Line 48  CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/te
 CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/data/mydata.txt" "html/doc/data/mydata.txt" COPYONLY)  CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/data/mydata.txt" "html/doc/data/mydata.txt" COPYONLY)
 # Test files  # Test files
 CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/data/data2.txt" "tests/data/data2.txt" COPYONLY)  CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/data/data2.txt" "tests/data/data2.txt" COPYONLY)
 CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/testV2.imach" "tests/testV2.imach" COPYONLY)  #CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/testV2.imach" "tests/testV2.imach" COPYONLY)
 CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/testV1V2.imach" "tests/testV1V2.imach" COPYONLY)  #CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/tests/testV1V2.imach" "tests/testV1V2.imach" COPYONLY)
   
   
 set (imach_SRCS ./src/imach.c)  set (imach_SRCS ./src/imach.c)
Line 78  if(UNIX) Line 78  if(UNIX)
   set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")    set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")
   set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/appdata")    set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/appdata")
   set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons")    set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons")
     install(FILES "distributions/gnulinux/imach.1" DESTINATION "${MANDIR}")
     install(FILES "distributions/gnulinux/imach.png" DESTINATION "${ICONDIR}")
     install(FILES "distributions/gnulinux/imach.desktop" DESTINATION "${XDG_APPS_DIR}")
 endif()  endif()
 if(MSVC)  if(MSVC)
   set(DOCDIR "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/doc")    set(DOCDIR "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/doc")
     set(TESTDIR "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/tests")
     set(DATADIR "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/tests/data")
   set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd")    set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd")
   set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")    set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")
   set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd")    set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd")
Line 95  install(FILES "html/doc/data/mydata.txt" Line 100  install(FILES "html/doc/data/mydata.txt"
 install(FILES "html/doc/biaspar.imach" DESTINATION "${DOCDIR}")  install(FILES "html/doc/biaspar.imach" DESTINATION "${DOCDIR}")
 install(FILES "html/doc/data1.txt" DESTINATION "${DOCDIR}")  install(FILES "html/doc/data1.txt" DESTINATION "${DOCDIR}")
 install(FILES "src/README.txt" DESTINATION "${DOCDIR}")  install(FILES "src/README.txt" DESTINATION "${DOCDIR}")
 install(FILES "distributions/gnulinux/imach.1" DESTINATION "${MANDIR}")  #install(FILES "tests/testV1V2.imach" DESTINATION "${TESTDIR}")
 install(FILES "distributions/gnulinux/imach.png" DESTINATION "${ICONDIR}")  
 install(FILES "distributions/gnulinux/imach.desktop" DESTINATION "${XDG_APPS_DIR}")  
 install(FILES "tests/testV1V2.imach" DESTINATION "${TESTDIR}")  
 install(FILES "tests/rtestV1V2.imach" DESTINATION "${TESTDIR}")  install(FILES "tests/rtestV1V2.imach" DESTINATION "${TESTDIR}")
 install(FILES "tests/testV2.imach" DESTINATION "${TESTDIR}")  install(FILES "tests/testV2.imach" DESTINATION "${TESTDIR}")
 install(FILES "tests/rtestV2.imach" DESTINATION "${TESTDIR}")  install(FILES "tests/rtestV2.imach" DESTINATION "${TESTDIR}")
Line 114  set(CPACK_PACKAGE_CONTACT "Nicolas Broua Line 116  set(CPACK_PACKAGE_CONTACT "Nicolas Broua
 set(CPACK_PACKAGE_VENDOR "INED")  set(CPACK_PACKAGE_VENDOR "INED")
 SET(CPACK_PACKAGE_VENDOR "IMaCh, INED")  SET(CPACK_PACKAGE_VENDOR "IMaCh, INED")
 SET(CPACK_PACKAGE_LICENSE "GPLv2")  SET(CPACK_PACKAGE_LICENSE "GPLv2")
   #SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.txt")
 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt")  SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt")
 SET(CPACK_PACKAGE_VERSION_MAJOR "${IMACH_VERSION_MAJOR}")  SET(CPACK_PACKAGE_VERSION_MAJOR "${IMACH_VERSION_MAJOR}")
 SET(CPACK_PACKAGE_VERSION_MINOR "${IMACH_VERSION_MINOR}")  SET(CPACK_PACKAGE_VERSION_MINOR "${IMACH_VERSION_MINOR}")
Line 307  if(UNIXDODOXYGEN) Line 310  if(UNIXDODOXYGEN)
   endif (DOXYGEN_FOUND)    endif (DOXYGEN_FOUND)
   message("Doxygen only in UNIX doxygen documentation")    message("Doxygen only in UNIX doxygen documentation")
 endif (UNIXDODOXYGEN)  endif (UNIXDODOXYGEN)
   

Removed from v.1.22  
changed lines
  Added in v.1.24


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>