I'm having sconscript that has a line like this:
EXT_SHADERS = shader_env.SharedLibrary('scrubs', source_files, LIBPREFIX='')
And the source_files
is "abbreviated" from:
src_base_dir = os.path.join(shader_env['ROOT_DIR'], 'contrib', 'extensions', 'scrubs', 'shaders')
source_files = [os.path.join('shaders', x) for x in find_files_recursive(src_base_dir, ['.c', '.cpp'])]
Now I know from the docs this builds one shared library named scrubs but what need is for each .cpp file in source folder one shared library built only from it's corresponding source file (.cpp) and option to add more sources later without changing the build script, is anything like this possible cause.I'm not seeing anything in the docs or elsewhere,
Thanks in advance