aboutsummaryrefslogtreecommitdiff
path: root/tools/split.py
AgeCommit message (Collapse)Author
2013-11-17Adjust split.py tool logic for generating output filenames to not generate ↵Jukka Jylänki
the full absolute path names to the splitted filenames. This fixes a Windows problem where invalid path concatenations like 'somethingC:/projects/emscripten/hello_world.js' would be generated, and shortens the path structure to not contain redundant directory names. Fixes test browser.test_split_in_source_filenames on Windows.
2013-05-03Remove executable permissions on simple filesSylvestre Ledru
2012-11-06Fix splitting on case-insensitive file systemsManuel Wellmann
2012-09-26Add emcc option "--split <size>" to split javascript file.Lars Schneider
Splits the resulting javascript file into pieces to ease debugging. This option only works if Javascript is generated (target -o <name>.js). Files with function declarations must be loaded before main file upon execution. Without "-g" option: Creates files with function declarations up to the given size with the suffix "_functions.partxxx.js" and a main file with the suffix ".js". With "-g" option: Recreates the directory structure of the C source files and stores function declarations in their respective C files with the suffix ".js". If such a file exceeds the given size, files with the suffix ".partxxx.js" are created. The main file resides in the base directory and has the suffix ".js".