[CMake] ExternalProject and clean targets

Lori Pritchett-Sheats lpritch at lanl.gov
Wed Oct 12 16:22:10 EDT 2011


I'm building external packages in my CMake system using the 
ExternalPackages_Add function. When a package is built this way and I 
execute a 'make clean' at the top of my build tree,  all targets are 
cleaned including the external packages. Is there a way to remove the 
external package targets from the the default clean target?

-- 
Lori A. Pritchett-Sheats, PhD.
CCS-2, Computational Physics and Methods
Office: 505-665-6675
Fax: 505-665-4972

Los Alamos National Laboratory
P.O. Box 1663
MS D413
Los Alamos, NM 87544



More information about the CMake mailing list