We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/dedmen/ArmaScriptCompiler/blob/master/src/main.cpp#L54
root_path is drive letter root, works fine for p-drive, doesn't work fine for not p-drive example, compile directory O:\dev\CBA_A3
for O:\dev\CBA_A3\addons\xeh\test The virtual path should be assembled from pboprefix, and relative path
iterate up directory structure till first pboprefix x\cba\addons\xeh
x\cba\addons\xeh
pathRelative = path.lexically_relative(directory of pboprefix file); -> pathRelative = /test
virtual path -> prefix/pathRelative -> x\cba\addons\xeh/test
The text was updated successfully, but these errors were encountered:
std::ifstream prefixFile(i->path()); std::string prefix; std::getline(prefixFile, prefix); prefixFile.close();
Sorry, something went wrong.
51cae0d
No branches or pull requests
https://github.com/dedmen/ArmaScriptCompiler/blob/master/src/main.cpp#L54
root_path is drive letter root, works fine for p-drive, doesn't work fine for not p-drive
example, compile directory
O:\dev\CBA_A3
for O:\dev\CBA_A3\addons\xeh\test
The virtual path should be assembled from pboprefix, and relative path
iterate up directory structure till first pboprefix
x\cba\addons\xeh
pathRelative = path.lexically_relative(directory of pboprefix file);
->
pathRelative = /test
virtual path -> prefix/pathRelative -> x\cba\addons\xeh/test
The text was updated successfully, but these errors were encountered: