It does not seem to be that simple I'm afraid. I don't see any means to make the addition of definitions or the CMAKE_C[XX]_FLAGS appear right next the newly defined CMAKE_C_COMPILER scalasca. At best I achieved to have something alphabetically ordered, but most of my tries lead to something like: scalasca -DMPI=1 -D__linux__ -DNDEBUG -Dinline="static __inline__" -Dconst="" -std=gnu99 -O3 -DNDEBUG -UDEBUG -instrument /usr/bin/mpicc -o [...]
-- View this message in context: http://cmake.3232098.n2.nabble.com/Using-MPI-Profiler-Scalasca-in-Cmake-tp7585595p7587292.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
