Wednesday 15 September 2010

c++ - A single makeFile-Windows/Linux/Mac OS -


We have some applications written in C / C ++ and MacEfiles are for that. Currently, we are using the GNU make system on Windows (Saigwin based). The makefile was written for a long time keeping only Windows OS in mind. Now we want to improve everything.

While writing the makefile I am unaware of the factors for which they are considered to be cross-platform compatible. I saw some sources on the internet, but they were unsatisfactory, while writing the makefile, anyone can list those issues which they are considered to be consistent in different platforms.

PS: I have seen this link, but I think it is not my wish.

You can use - this is a cross platform tool that can make use of Makefiles or Project Makes the file So instead of typing the makefile, you write CMakeLists.txt, then you run cmake and it will create makefolks. When you want to compile your program on the other platforms, you create only Ru-run limiter with different target project systems.

No comments:

Post a Comment