Created
April 15, 2013 02:01
-
-
Save void-main/5385182 to your computer and use it in GitHub Desktop.
Generate the lib file list for Qt .pro file.
This file contains hidden or 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
from os import listdir | |
from os.path import isfile, join | |
mypath = "/path/to/your/lib/folder" | |
onlyfiles = [ "-l" + f[:-4] for f in listdir(mypath) if (isfile(join(mypath,f)) and f.endswith(".lib")) ] | |
print " ".join(onlyfiles) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment