CMake and Make interoperability

Please consider following scenario. Two teams working on a C++ project. One team uses Eclipse, the second one uses CLion. Is it a way to sync back and forth changes made in Eclipse and CLion? Meaning, I add a file using CLion, it updates the CMakeList.txt, but the Eclipse is unaware of this change, how do I add file without the need to add the same file twice- once to CMakeList.txt and the second time to the make file.

 

0
Avatar
Permanently deleted user

According to https://www.google.no/search?q=how+to+use+cmake+in+eclipse you should be able to use cmake in eclipse as well... 

0

Since the build system is make based it is not likely to help us (without substantial effort)

 

0
Avatar
Permanently deleted user

why not? the tools typically invoke cmake to generate the makefiles used by the native toolchain. It does a far better job keeping up with all of the dependencies than people manually writing makefiles.... (and it can generate makefiles which is handled by nmake on windows (or visual studio projects))...

0

ok, it makes sense... I'm not familiar with our build chain, but it may do the trick. In case it does not, any other possibilities?

 

0

请先登录再写评论。