]> henry.ined.fr Git - .git/commitdiff
*** empty log message ***
authorN. Brouard <brouard@ined.fr>
Wed, 22 May 2019 20:20:22 +0000 (20:20 +0000)
committerN. Brouard <brouard@ined.fr>
Wed, 22 May 2019 20:20:22 +0000 (20:20 +0000)
CMakeLists.txt

index 844964812b4cc10f66971ae61f96c0894ee7917c..4c06d957794c12922f871bdb7546407a9920be84 100644 (file)
@@ -72,6 +72,7 @@ if(UNIX)
   set(BINDIR "${CMAKE_INSTALL_PREFIX}/bin")
   set(DOCDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/doc")
   set(TESTDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/tests")
+  set(DATADIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/tests/data")
   set(MANDIR "${CMAKE_INSTALL_PREFIX}/share/man/man1")
   #set(EXAMPLE_CONF_DIR ${DOCDIR})
   set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")
@@ -97,6 +98,11 @@ install(FILES "src/README.txt" DESTINATION "${DOCDIR}")
 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}")
+install(FILES "tests/testV1V2.imach" DESTINATION "${TESTDIR}")
+install(FILES "tests/rtestV1V2.imach" DESTINATION "${TESTDIR}")
+install(FILES "tests/testV2.imach" DESTINATION "${TESTDIR}")
+install(FILES "tests/rtestV2.imach" DESTINATION "${TESTDIR}")
+install(FILES "tests/data/data2.txt" DESTINATION "${DATADIR}")
 #not working install(FILES "imach.desktop" DESTINATION "${XDG_APPS_DIR}")
 #install(FILES "html" DESTINATION "${DOCDIR}")
 
@@ -202,7 +208,7 @@ INCLUDE(CPack)
 #   set(VERSION_PATCH "${BUILD_VERSION_PATCH}")
 # ENDIF()
 file( GLOB_RECURSE parameter_files RELATIVE
-"${CMAKE_CURRENT_SOURCE_DIR}/html/doc" "html/*.imach" )
+"${CMAKE_CURRENT_SOURCE_DIR}/html/doc" "html/*.imach" "tests/*.imach" )
 foreach( parameter_file ${parameter_files} )
   add_custom_command(
     OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${parameter_file}"