Tortoise svn works from the batch file after setting the environment, e.g.

    svn info --show-item revision F:\work\svn\oorexx\sandbox\rick\reference

yields:

    11460

---rony

On 13.07.2018 15:21, Rony G. Flatscher wrote:
> On 13.07.2018 15:16, Rick McGuire wrote:
>> I'm not seeing any issue with retrieving the revision number. Do you have 
>> svn in the path so that
>> CMake can find it?
> Yes, CMake reports "C:/Program Files/TortoiseSVN/bin/svn.exe", that is its 
> location.
>
>
>
>> On Fri, Jul 13, 2018 at 6:19 AM Rony G. Flatscher <rony.flatsc...@wu.ac.at
>> <mailto:rony.flatsc...@wu.ac.at>> wrote:
>>
>>     While creating the different ooRexx Windows installers I noticed that 
>> CMake did not return
>>     the current svn revision number correctly, rather it used '0'.
>>
>>     Today, after updating the Windows versions of Tortoise svn to version 
>> 1.10.0 and CMake to
>>     version 3.12.0-rc3, the problem is still not resolved, hence reporting 
>> it here.
>>
>>     This is the output of running 'cmake -G "NMake Makefiles"
>>     F:\work\svn\oorexx\sandbox\rick\reference':
>>
>>         ... cut ...
>>         -- Building for a 64-bit architecture
>>         -- Found Subversion: C:/Program Files/TortoiseSVN/bin/svn.exe (found 
>> version "1.10.0")
>>         -- *SVN Revision Number is 0*
>>         ... cut ...
>>
>>     ---
>>
>>     Also this rather new version of CMake gives a deprecation warning right 
>> in the beginning:
>>
>>         G:\oorexx.tmp\oorexxBuild\debug64.reference>cmake -G "NMake 
>> Makefiles" F:\work\svn\oorexx\sandbox\rick\reference
>>         CMake /Deprecation Warning at *CMakeLists.txt:43* (cmake_policy)/:
>>           The OLD behavior for policy CMP0010 will be removed from a future 
>> version
>>           of CMake.
>>
>>           The cmake-policies(7) manual explains that the OLD behaviors of all
>>           policies are deprecated and that a policy should be set to OLD 
>> only under
>>           specific short-term circumstances.  Projects should be ported to 
>> the NEW
>>           behavior and not rely on setting a policy to OLD.
>>
>>
>>         -- The C compiler identification is MSVC 19.0.24215.1
>>         ... cut ...
>>
>>     ---rony
>>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to