[IPOL discuss] 2 cmake questions

Nicolas Limare nicolas.limare at cmla.ens-cachan.fr
Mon Nov 28 09:24:50 CET 2011


Hi,

> $ mkdir build
> cmake BUILD_PATH SRC_PATH
> $ cmake ./build ./

I feel stupid not having found that! 

> $ cmake clean
> will remove compilation objects
> $ cmake distclean
> remove all the generated file from cmake

Doesn't work:
* cmake ./        OK, creates Makefile
* make            OK, builds the program
* cmake clean     CMake Error: The source dir. ".../clean" does not exist.
* make clean      OK, removes the program 
* cmake distclean CMake Error: The source dir. ".../distclean" does not exist.
* make distclean  make: *** No rule to make target `distclean'.  Stop.

-- 
Nicolas LIMARE - CMLA - ENS Cachan    http://www.cmla.ens-cachan.fr/~limare/
IPOL - image processing on line                          http://www.ipol.im/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://tools.ipol.im/mailman/archive/discuss/attachments/20111128/494d7334/attachment.pgp>


More information about the discuss mailing list