Source

nsis64 / Contrib / Library / LibraryLocal / SConscript

gol...@212acab6-… 205abbe 



































target = 'LibraryLocal'

files = Split("""
	LibraryLocal.cpp
""")

required_files = Split("""
	#Source/ResourceEditor.cpp
	#Source/util.cpp
	#Source/winchar.cpp
""")

libs = Split("""
	oleaut32
	version
""")

libs_posix = Split("""
	iconv
""")

Import('BuildUtil BuildUtilEnv GetAvailableLibs')

env = BuildUtilEnv(flags = ['$EXCEPTION_FLAG'], cross_platform = True)

import os.path

for s in required_files:
	fn = os.path.split(s)[-1]
	bn = os.path.splitext(fn)[0]
	o = env.Object(bn, s)
	files.append(o)

if env['PLATFORM'] != 'win32':
	libs = GetAvailableLibs(env, libs_posix)

BuildUtil(target, files, libs, flags = ['$EXCEPTION_FLAG'], cross_platform = True)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.