diff --git a/CMakeLists.txt b/CMakeLists.txt index 24752c8..b4e33d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,11 @@ configure_file( "${CMAKE_CURRENT_BINARY_DIR}/smart" IMMEDIATE @ONLY) +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/static/start.html.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/static/start.html" + IMMEDIATE @ONLY) + ################################# # Compiler Switches ############## @@ -68,7 +73,13 @@ install(PROGRAMS readconfig.pl DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(PROGRAMS settings.pl DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(PROGRAMS static.pl DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) -install(DIRECTORY static/ DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}/static) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/static/start.html DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}/static) +install(FILES static/menu.html DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}/static) +install(FILES static/smart_icon.jpg DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}/static) +install(FILES static/smart.jpg DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}/static) +install(FILES static/favicon.ico DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}/static) + + install(TARGETS check_login DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..3c9b2f3 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/start.html b/static/start.html.cmake similarity index 94% rename from static/start.html rename to static/start.html.cmake index 4882774..ddf8fcf 100644 --- a/static/start.html +++ b/static/start.html.cmake @@ -4,7 +4,7 @@
| - SMArT v0.99 (Perl) + SMArT v@MARS_NWE_VERSION@ (Perl) |
|