LADSoft / OCIDE

Orange C Compiler IDE
GNU General Public License v3.0
14 stars 1 forks source link

OCIDE cwa: don't change plain file references of project files to relative names #30

Closed GitMensch closed 4 years ago

GitMensch commented 5 years ago

Saved and opened:

<OCCWORKAREA>
    <VERSION ID="8"/>
    <PROJECTS SELECTED="cobcrun">
        <FILE NAME="cobc.exe" CLEAN="0">
            <DEPENDENCY NAME="libcob.dll" />
        </FILE>
        <FILE NAME="cobcrun.exe" CLEAN="0">
            <DEPENDENCY NAME="libcob.dll" />
        </FILE>
        <FILE NAME="libcob.dll" CLEAN="0">
            <DEPENDENCY NAME="libsupport.l" />
        </FILE>
        <FILE NAME="libsupport.l" CLEAN="0"/>
    </PROJECTS>
</OCCWORKAREA>

after closing OCIDE again the file is changed:

<OCCWORKAREA>
    <VERSION ID="8"/>
    <PROJECTS SELECTED="cobcrun">
        <FILE NAME="..\ocide\cobc.exe" CLEAN="0">
            <DEPENDENCY NAME="..\ocide\libcob.dll" />
        </FILE>
        <FILE NAME="..\ocide\cobcrun.exe" CLEAN="0">
            <DEPENDENCY NAME="..\ocide\libcob.dll" />
        </FILE>
        <FILE NAME="..\ocide\libcob.dll" CLEAN="0">
            <DEPENDENCY NAME="..\ocide\libsupport.l" />
        </FILE>
        <FILE NAME="..\ocide\libsupport.l" CLEAN="0"/>
    </PROJECTS>
</OCCWORKAREA>

"FR:" leave the cwa-file as is (don't add unnecessary relative paths)