New issue
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
Updates the torsion.in file to properly be configured to handle tscript extension #477
Updates the torsion.in file to properly be configured to handle tscript extension #477
Conversation
@Areloch Does the CMake build system have a variable that sets the TS script extension? Since this is a cmake.in file, we should use that variable instead of hardcoding it if it does. If it doesn't, then this is good to merge. |
Ah yeah that makes sense. It does have such a variable |
Tools/CMake/template.torsion.in
Outdated
@@ -1,18 +1,14 @@ | |||
<TorsionProject> | |||
<Name>@TORQUE_APP_NAME@</Name> | |||
<WorkingDir/> | |||
<EntryScript>main.cs</EntryScript> | |||
<EntryScript>main.tscript</EntryScript> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<EntryScript>main.@TORQUE_SCRIPT_EXTENSION@</EntryScript>
Tools/CMake/template.torsion.in
Outdated
<Folder>data</Folder> | ||
<Folder>tools</Folder> | ||
</Mods> | ||
<ScannerExts>cs; gui; taml; module;</ScannerExts> | ||
<ScannerExts>cs; gui; taml; module; tscript;</ScannerExts> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ScannerExts>@TORQUE_SCRIPT_EXTENSION@; gui; taml; module;</ScannerExts>
No description provided.