[Cmake] QUESTION:usage ofADD_CUSTOM_COMMAND

Shunming Fang fang at blake.3dem.bioch.bcm.tmc.edu
Fri Mar 28 11:44:40 EST 2003


Hello,Guys,
After reading CMAKE Q&A to see how to use ADD_CUSTOM_COMMAND, I wrote a
line in my CMakeLists.txt as following:
ADD_CUSTOM_COMMAND(
	SOURCE /doc
	COMMAND cp
	ARGS ${EMAN_INSTALL_PREFIX}/src/eman/eman/*.html ${DOC_PATH}/progs
	TARGET /doc)

I try to copy all of HTML in one dir( here is under eman) to my doc dir.
It didn't do anything, I don't know what is wrong with that, by the way,
in /doc, there isn't any c/c++ code, I just want to copy documents to
there. Please check my code is right or not.
Thanks
Shunming 




More information about the CMake mailing list