Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

CMakeLists.txt in a subdirectory

By: a guest on Oct 22nd, 2012  |  syntax: CMake  |  size: 0.67 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. cmake_minimum_required(VERSION 2.6)
  2.  
  3. project("primitives")
  4.  
  5. set_source_files_properties(Xyz1.C Xyz2.C Xyz3.C
  6. Xyz4.C Xyz5.C Xyz6.C Xyz7.C Xyz8.C Xyz9.C Xyz10.C
  7. Xyz11.C Xyz12.C Xyz13.C Xyz14.C Xyz15.C Xyz16.C Xyz17.C Xyz18.C
  8. Xyz19.C Xyz20.C Xyz21.C Xyz22.C Xyz23.C Xyz24.C Xyz25.C
  9. Xyz26.C Xyz27.C Xyz28.C Xyz29.C Xyz30.C Xyz31.C Xyz32.C Xyz33.C
  10. PROPERTIES
  11. LANGUAGE CXX
  12. COMPILE_FLAGS ${VBS_CXX_FLAGS})
  13.  
  14. add_library(${PROJECT_NAME} STATIC Xyz4.C Xyz5.C Xyz6.C Xyz7.C Xyz8.C Xyz9.C Xyz10.C
  15. Xyz11.C Xyz12.C Xyz13.C Xyz14.C Xyz15.C Xyz16.C Xyz17.C Xyz18.C
  16. Xyz19.C Xyz20.C Xyz21.C Xyz22.C Xyz23.C Xyz24.C Xyz25.C
  17. Xyz26.C Xyz27.C Xyz28.C Xyz29.C Xyz30.C Xyz31.C Xyz32.C Xyz33.C)
clone this paste RAW Paste Data