^You have called ADD_LIBRARY for library TestSharedLibWithoutSources without any source files. This typically indicates a problem with your CMakeLists.txt file(
CMake Error: CMake can not determine linker language for target: TestSharedLibWithoutSources)+(
CMake Error: Cannot determine link language for target \"TestSharedLibWithoutSources\".)*$