我正在使用gcc(cygwin)、gnumake、windows7和cmake。我的cmaketestprojekt具有以下结构rootdir|--App||--app.cpp|+--CMakeLists.txt|--Lib||--lib.cpp||--CMakeLists.txt|--MakeFileProject+CMakeLists.txtrootdir/App/app.cpp:#includevoidprintThemMessageToScreen(std::stringinput);//prototypeintmain(intargc,char**argv){printThe