Skip to content

Instantly share code, notes, and snippets.

@prabirshrestha
Created July 7, 2012 02:08
Show Gist options
  • Save prabirshrestha/3063852 to your computer and use it in GitHub Desktop.
Save prabirshrestha/3063852 to your computer and use it in GitHub Desktop.
force clang for CMakeLists.txt
set(CMAKE_C_COMPILER clang)
set(CMAKE_CXX_COMPILER clang++)
project(hello)
add_executable(hello hello.c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment