mirror of
https://github.com/m1ngsama/TUT.git
synced 2025-12-24 10:51:46 +00:00
Refactored the calendar functionality into a separate Calendar class. Created a TUI portal in main.cpp to allow for future feature expansion. The TUI portal provides a menu to select different features, with the calendar being the first one. Updated the build system to include the new files.
61 lines
1.9 KiB
CMake
61 lines
1.9 KiB
CMake
# Install script for directory: /Users/m1ng/code/github/m1ngsama/TUT
|
|
|
|
# Set the install prefix
|
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
endif()
|
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
|
|
# Set the install configuration name.
|
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
if(BUILD_TYPE)
|
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
else()
|
|
set(CMAKE_INSTALL_CONFIG_NAME "")
|
|
endif()
|
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
endif()
|
|
|
|
# Set the component getting installed.
|
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
if(COMPONENT)
|
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
else()
|
|
set(CMAKE_INSTALL_COMPONENT)
|
|
endif()
|
|
endif()
|
|
|
|
# Is this installation the result of a crosscompile?
|
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
endif()
|
|
|
|
# Set path to fallback-tool for dependency-resolution.
|
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
|
endif()
|
|
|
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
file(WRITE "/Users/m1ng/code/github/m1ngsama/TUT/build/install_local_manifest.txt"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
endif()
|
|
if(CMAKE_INSTALL_COMPONENT)
|
|
if(CMAKE_INSTALL_COMPONENT MATCHES "^[a-zA-Z0-9_.+-]+$")
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
else()
|
|
string(MD5 CMAKE_INST_COMP_HASH "${CMAKE_INSTALL_COMPONENT}")
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INST_COMP_HASH}.txt")
|
|
unset(CMAKE_INST_COMP_HASH)
|
|
endif()
|
|
else()
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
|
file(WRITE "/Users/m1ng/code/github/m1ngsama/TUT/build/${CMAKE_INSTALL_MANIFEST}"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
endif()
|