I get something like this for the generated build directory path: ~/.clion10/system/cmake/generated/abeb208d/abeb208d. The generated build dir is predetermined by CLion and cannot be modified by user (which is wrong to my opinion but that's another issue). My question is how does this "abeb208d" is being computed? I believe it is a hash value based on the source directory path. Since I cannot tell CLion to respect my choice of build directory path, I need to find an automated way in my helper script to find out where the hell CLion would decide to generate it. I know I can find it manually in the CLion IDE itself but this is not good enough. Any one knows the hash function?