Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
>       Is there a module like CMakeDetermineSystem.cmake
> that would tell the specific Linux distribution and
> architecture that compilation is running on? I would like to 
> use it to attach it to package name generated by CPack. 

There is nothing to identify the specific linux distro (debian, fedora,
etc.) but once you know it is a unix platform you can use
EXECUTE_PROCESS to run uname and get whatever you want.  The output can
be parsed using STRING(REGEX).

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to