第12月第14天 sfml cmake

1.

511  cd Desktop/mycode/
  512  ls
  513  mkdir sfml03
  514  cd sfml03
  515  ls
  516  vi main.cpp
  517  vi config.h
  518  vi CMakeLists.txt
  519  ls
  520  pwd
  521  ls
  522  mkdir build
  523  ls
  524  mv config.h config.h.in
  525  vi COPYING

 

https://github.com/SFML/SFML/wiki/Tutorial:-Build-your-SFML-project-with-CMake

 

target_link_libraries(BitRPG ${SFML_LIBRARIES})
target_link_libraries(BitRPG ${V8_LIBRARIES})
target_link_libraries(BitRPG ${Boost_LIBRARIES})

 https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake

https://github.com/Marviel/BitRPG/

 

posted @ 2017-09-14 10:52  lianhuaren  阅读(244)  评论(0编辑  收藏  举报