Files
minigame-menu/CMakeLists.txt
2025-10-13 15:29:56 +02:00

34 lines
1.2 KiB
CMake

cmake_minimum_required()
# ------------------------------------------------------------------
# Define a custom target to run the default 'make' command
# ------------------------------------------------------------------
add_custom_target(
Week6
COMMAND ${MAKE_EXECUTABLE}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Running make in the project directory..."
VERBATIM
)
# ------------------------------------------------------------------
# Define a custom target to run 'make clean'
# ------------------------------------------------------------------
add_custom_target(
Week6Clean
COMMAND ${MAKE_EXECUTABLE} clean
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Running make clean in the project directory..."
VERBATIM
)
# ------------------------------------------------------------------
# Define a custom target to run 'make clean'
# ------------------------------------------------------------------
add_custom_target(
Week6Tarball
COMMAND ${MAKE_EXECUTABLE} tarball1
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Running make tarball in the project directory..."
VERBATIM
)