zoukankan      html  css  js  c++  java
  • sth about cmake

    About cmake construction
      we need two types of files,one is like 'findlib.cmake' ,the other is 'cmakelists.txt'.
      the first one is used to find some lib file or some head file,the second one 
      tell us the relation in all the directory,and make a show of use of some file(
      eg. 'ADD_EXECUTABLE(function_name src)' means to generate an executable file).
    About cmake useage
      step
       cmake -->[./configure-->]make-->make install
      tips
       if you find makefile after cmake,you may jump over the second step,sometimes we may
       set the setup directory at the second step.
      eg.  cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/ /setupsrc
  • 相关阅读:
    Hdu 4221 Greedy?
    Hdu 2955 Robberies
    Hdu 3309 Roll The Cube
    Hdu 2602 Bone Collector
    Hdu 2844 Coins
    Hdu 2255奔小康赚大钱
    Hdu 2120 Ice_cream's world I
    Hdu 2159 FATE
    Hdu 2102 A计划
    Hdu 2098分拆素数和
  • 原文地址:https://www.cnblogs.com/ai464068163/p/1874925.html
Copyright © 2011-2022 走看看