Table of Contents

CMAKE

verbose

CMakE :

cmake -DCMAKE_VERBOSE_MAKEFILE=1  # is the right way


export MAKEFLAGS="VERBOSE=1"
cmake --build .
      
cmake -DVERBOSE=1 VERBOSE=1 V=1 .  && make -k -C .  V=1
cmake -DVERBOSE=1 VERBOSE=1 V=1 $<  && make -k -C $<  V=1 
cmake -DVERBOSE=1 VERBOSE=1 V=1 $<  && cmake --build

http://www.cmake.org/cmake/help/book.html

Use

isbn:9781930934092

install(TARGETS ${project} DESTINATION ${CMAKE_INSTALL_LIBDIR})

Will manage multiarch

* https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html# DebuG

MISC

/CMakeFiles does not contain a CMakeLists.txt file.

MORE

cmake.txt · Last modified: 2024/01/30 14:20 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki