Oh, I got it. I think the first method was so cool.
Thank you very much.
At 2017-03-31 14:10:12, "Domen Vrankar" wrote:
2017-03-31 4:41 GMT+02:00 kipade :
There are some files I do not want to build if the specified condition was ture.
For example, for testing, I want build a new
There are some files I do not want to build if the specified condition was ture.
For example, for testing, I want build a new file witch include a main entry
just
for testing; if not, a new file would be compile for normal task.
I do not want to write two main entries in the same file just using m
In my cmake project, there are some subdirectories within it, and some of them
have to build as completed
static or shared libraries.
1. The top project is executable
2. a subdirectory is a shared project, which also have some subdirectoy compile
as static libraries which
of course should ON