[CMake] Custom Command Execution
th.tom at gmx.de
th.tom at gmx.de
Mon Sep 21 09:35:35 EDT 2009
Hi,
I have the following CMakeLists.txt:
---------
cmake_minimum_required(VERSION 2.6)
MESSAGE (" CMAKE TEST ")
ADD_CUSTOM_COMMAND (TARGET Hello PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "Prebuild execution"
COMMENT "Information string for prebuild execution"
)
ADD_EXECUTABLE ( Hello abc.cpp )
---------
Why is the custom command not executed? Is it meat different?
- Tom
More information about the CMake
mailing list