From 809b703d05a1b4446c456a7d524b3711ba2c2242 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Sun, 8 Jan 2023 14:11:25 +0700 Subject: [PATCH] remove option to build txt in the test project --- test/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 27c7acd..8e4200e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,7 +3,6 @@ project(test) option(BUILD_C "build hello world in C Language" OFF) option(BUILD_CXX "build hello world in CXX Language" ON) -option(BUILD_TXT "build hello world txt file" OFF) if(BUILD_C) add_executable(hello_world_c hello_world.c) @@ -12,10 +11,3 @@ endif() if(BUILD_CXX) add_executable(hello_world hello_world.cpp) endif() - -if(BUILD_TXT) - add_custom_target( - hello_world_txt ALL - COMMAND echo "Hello world!" >> ${CMAKE_CURRENT_BINARY_DIR}/hello_world.txt - ) -endif()