Created
January 20, 2015 16:53
-
-
Save rpherrera/4d461290ba50b35d3d9f to your computer and use it in GitHub Desktop.
All OpenCV 2.4.10 Flags and Format for CMake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################## | |
### ONLY 'OCV_OPTION's ### | |
########################## | |
# Getting OpenCV Flags | |
curl https://raw.githubusercontent.com/Itseez/opencv/2.4.10/CMakeLists.txt | grep -i OCV_OPTION | cut -d'(' -f2 | awk '{print $1}' | |
# Getting OpenCV Flags and Formatting for CMake | |
curl https://raw.githubusercontent.com/Itseez/opencv/2.4.10/CMakeLists.txt | grep -i OCV_OPTION | cut -d'(' -f2 | awk '{print $1}' | xargs -I XXX echo "-D XXX=OFF \\" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment