10 secs sounds quite a lot. Even on Xubuntu VM running on my MBP BasicApp takes less than that. What kind of system / hardware are you using?
There are a couple of things to try in case you haven't yet. First would be to try
clang++ as your compiler backend since it is faster than
gcc. You can control this with the following cmake option
-DCMAKE_CXX_COMPILER=clang++ Of course you will need to have
clang installed for this to work.
Another option would be to try the
Ninja backend. You can think
Ninja as a faster replacement for the traditional
Make. CMake can generate
Ninja files for you. You will need to download Ninja, unzip it and move it under
/usr/local/bin . Once you have done this you can build Cinder and samples by running
cmake .. -G Ninja && ninja -j4 . This command asks
CMake to generate the
Ninja files and then it builds the project with
ninja using 4 cores.
For the linking process specifically you could try out the
gold linker. I haven't tried it in quite some time now but I remember it being quite faster than the default GNU linker but with some shortcomings at that point.