Created
March 14, 2014 06:14
-
-
Save ankeshanand/9542880 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| compiler="The compiler used is: `grep -oPrh 'CMAKE_C_COMPILER_ID "\K[^"]*' ../CMakeFiles/ | head -1`" | |
| compiler_version="The compiler version is: `grep -oPrh 'CMAKE_C_COMPILER_VERSION "\K[^"]*' ../CMakeFiles/ | head -1`" | |
| echo "$compiler" | |
| echo "$compiler_version" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment