- cmake --help-module FindGLEW:
- cmake ..
- will go into src/CMakeLists.txt then look for different external find_package()
- find_package(GLEW REQUIRED QUIET)
- goes into 'Pangolin/Modules' directory and looks for 'FindGLEW.cmake' file. If doesn't find it there then goes into '/usr/share/cmake-2.8/Modules/' to find
- If successful then following environment variables will be set inside the 'FindGLEW.cmake' file:
- GLEW_FOUND
- GLEW_INCLUDE_DIR or GLEW_INCLUDES
- GLEW_LIBRARIES or GLEW_LIBS
- Printing env variable:
- MESSAGE( ${GLEW_INCLUDE_DIR}), if find_path(GLEW_INCLUDE_DIR ) is unsuccessful then message will print "GLEW_INCLUDE_DIR-NO-FOUND"
- sudo find /usr -iname '*glew*' -print (MOST USEFUL COMMAND)
- apt-cache search glew (FINDS THE AVAILABLE glew package for installation)
- Reference: How package finding works
- Reference: good
- Reference: with Visual Studio
Jun 16, 2017
cmake flow of work
Subscribe to:
Post Comments (Atom)
Carlo Cipolla's Laws of Stupidity
"By creating a graph of Cipolla's two factors, we obtain four groups of people. Helpless people contribute to society but are...
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
"By creating a graph of Cipolla's two factors, we obtain four groups of people. Helpless people contribute to society but are...
-
Use 'Disk Utility' application to format the USB drive in MS-DOS (FAT) format Download the windows ISO file from the Windows websit...
No comments:
Post a Comment