Added imgui and an option to inject source files into dependant projects.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
import os
|
||||
from SCons.Script import *
|
||||
|
||||
def cook(env: Environment, git_ref: str = "main") -> dict:
|
||||
@@ -10,7 +11,7 @@ def cook(env: Environment, git_ref: str = "main") -> dict:
|
||||
}.get(env['BUILD_TYPE'], 'SDL2')
|
||||
return {
|
||||
'LIBPATH': build_result['LIBPATH'],
|
||||
'CPPPATH': build_result['CPPPATH'],
|
||||
'CPPPATH': [os.path.join(build_result['install_dir'], 'include/SDL2')], # SDL is really weird about include paths ...
|
||||
'LIBS': [lib_name]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user