2012/9/20 Dave Abrahams <[email protected]>:
>
> When I invoke cmake for the first time in a project, I normally use
>
>      -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
>
> I'm tired of typing that every time I blow away my CMakeCache.txt.  Is
> there a place I can register these preferences so I don't have to?
>

How about?

alias cmake="cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"

-- 
Best Regards,
Sergey Nikulov
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to