[CMake] How to skip checking compiler detection??
sheissj at gmail.com
Wed Jul 21 06:23:50 EDT 2010
I want to generate a simple Makefile from cmake.
This Makefile looks like this:
@echo "No build"
ctags -R *.cpp
cscope -b -q -k *.cpp
This simple Makefile do not have target to build source code. It is only for
building ctags index and cscope db.
So it is not a matter whether c/c++ compiler exists or not.
How can I write CMakeList.txt for this simple work?
One problem is... when "cmake ." command is run, some errors are occured
like "The C compiler identification is unknown" and "The C++ compiler
identification is unknown" and blar blar because I use cygwin and gcc/g++ is
How to skip checking compiler detection?
Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CMake