Hello Following problem:
My CMakeList.txt file is somewhere like: E:/LBM_subversion/source/topology/amr3d/lbmd3q19/singlephase/testcases/RCF/a ll_in_one Now I want to have only the substring: E:/LBM_subversion/source Is it possible to get last string with the help of CMAKE_CURRENT_SOURCE_DIR? I just want to know the position of source. Thus I can shorten the string stored in CMAKE_CURRENT_SOURCE_DIR very easy. I do not always know the path behind source/ Best SirAnn
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
