I want to prefix the compiler with a utility script, so instead of for example g++-4.7 main.cpp
,kinst-ompp g++-4.7 main.cpp
is invoked.
I tried doing this in the CMakeLists.txt, but I'm getting a "not found" error:
set(CMAKE_CXX_COMPILER "${OMPP_CXX} ${CMAKE_CXX_COMPILER}")
set(CMAKE_C_COMPILER "${OMPP_CC} ${CMAKE_C_COMPILER}")
How do I properly configure this using CMake?