Compare commits
No commits in common. "cmake-custom" and "cmake" have entirely different histories.
cmake-cust
...
cmake
@ -5,10 +5,3 @@ project(HelloWorld)
|
||||
add_executable(${PROJECT_NAME} main.cc)
|
||||
|
||||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)
|
||||
|
||||
add_custom_target(greet
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "Hello from custom target!"
|
||||
COMMENT "Running greeting command..."
|
||||
)
|
||||
|
||||
add_dependencies(${PROJECT_NAME} greet)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user