I want to call the build target of an existing project that
has an another build system.

Within CMakeLists.txt I can specify an ADD_CUSTOM_COMMAND
that calls the build target of the other build system but
how do I garantee that this is only executed during the
build?

...and when I do call the clean target?
E.g.
I want to call: "/bin/my_other_build_system build_all" in case I build my code with: make
and: "/bin/my_other_build_system clean_everything" in case I build my code with: make clean

Another thingy, how do I setup the proper dependencies in my
cmake project to the library that is produced by the my_other_build_system?
 
 
Regards,
Andre
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to