Created
July 5, 2016 08:09
-
-
Save BichengLUO/1149d63b00ff93272fc3468fe046b1cc to your computer and use it in GitHub Desktop.
A simple python script to output all the OpenCV lib files
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
import os | |
lib_dir = '.\\x64\\vc12\lib' | |
if __name__ == '__main__': | |
debug_files = [] | |
release_files = [] | |
for file in os.listdir(lib_dir): | |
if file.endswith('.lib'): | |
if file.endswith('d.lib'): | |
debug_files.append(file) | |
else: | |
release_files.append(file) | |
print 'Debug libs:' | |
for debug_lib in debug_files: | |
print debug_lib | |
print '===========================' | |
print 'Release libs:' | |
for release_lib in release_files: | |
print release_lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment