--- imach/CMakeLists.txt 2015/09/17 06:19:29 1.6 +++ imach/CMakeLists.txt 2018/04/19 14:51:15 1.18 @@ -8,7 +8,7 @@ # SET (CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebinfo" CACHE STRING "" FORCE) set(PACKAGE_NAME "imach") SET(IMACH_VERSION_MAJOR 0) -SET(IMACH_VERSION_MINOR 98r0) +SET(IMACH_VERSION_MINOR 99r16) SET(IMACH_VERSION_PATCH 0) SET(IMACH_VERSION_NOTE "") SET(IMACH_VERSION ${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR}) @@ -18,13 +18,13 @@ SET(@NOREG@ ) SET(@IMACHSETUPVERSION@ imach-${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR}-icl-setup) SET(@APPCOMPILATIONMODE@ icl) SET(@VERSION@ ${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR}) -SET(@GNUPLOTVERSION@ 4.6) +SET(@GNUPLOTVERSION@ 5.1) SET(@INFOBEFOREFILE@ README.txt) SET(@LICENSEFILE@ Copying) SET(@PACKAGE@ imach) SET(@DICTLANG@ en) SET(@VERMAJOR@ ) -SET(@COPYRIGHT@ "Copyright (C) 2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) - Intel Software 2015") +SET(@COPYRIGHT@ "Copyright (C) 2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) 2013-2016- Intel Software 2015-2018") #SET(IMACH_VERSION ${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR}.${IMACH_VERSION_PATCH}) #MATH(EXPR IMACH_VERSION_NUMBER "100000*${IMACH_VERSION_MAJOR} + 100*${IMACH_VERSION_MINOR} + ${IMACH_VERSION_PATCH}") @@ -95,7 +95,7 @@ install(FILES "html/doc/data1.txt" DESTI set(CPACK_PACKAGE_VERSION ${IMACH_VERSION}) set(CPACK_PACKAGE_NAME "imach") -set(CPACK_PACKAGE_RELEASE 2) +set(CPACK_PACKAGE_RELEASE 1) set(CPACK_PACKAGE_CONTACT "Nicolas Brouard") set(CPACK_PACKAGE_VENDOR "INED") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh Interpolated Markov Chain program") @@ -242,13 +242,15 @@ ADD_TEST(biaspar IMaCh-${IMACH_VERSION} # endif() # endif() # Add a target to generate API documentation with Doxygen -find_package(Doxygen) -if(DOXYGEN_FOUND) -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/latex/Doxyfile.in -${CMAKE_CURRENT_BINARY_DIR}/latex/Doxyfile @ONLY) -add_custom_target(doc -${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/latex/Doxyfile -WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/latex -COMMENT "Generating IMaCh documentation with Doxygen" VERBATIM -) -endif() \ No newline at end of file +if(UNIX) + find_package(Doxygen) + if(DOXYGEN_FOUND) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/latex/Doxyfile.in + ${CMAKE_CURRENT_BINARY_DIR}/latex/Doxyfile @ONLY) + add_custom_target(doc + ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/latex/Doxyfile + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/latex + COMMENT "Generating IMaCh documentation with Doxygen" VERBATIM + ) + endif() +endif()