・対象ソリューション
ソリューション名:hogeSln
プロジェクト
hogeLibProj : hoge/hoge.h, hoge/hoge.cppから成る。hogeLibというlibファイルを出力する。
exeProj : exe/exe.cppから成る。hogeLibをリンクして、exeProcという実行ファイルを出力する。

・CMakeLists.txt
project (hogeSln)
add_executable (exeProc exe/exe.cpp)
target_link_libraries (exeProc hogeLib)
add_library (hogeLib hoge/hoge.h hoge/hoge.cpp)