Hello,
I encountered this issue only on windows why trying to use the ExternalData
module with a file called: "slice_01524_z-5.0034um.tif"
I am tested with CMake 3.0.2 and 2.8.12.2 on widows for this test. Here is the
test script:
foreach(i RANGE ${CMAKE_ARGC})
message(STATUS "ARGV${i}: ${CMAKE_ARGV${i}}")
endforeach()
message(STATUS "ExternalData file: ${file}")
Some runs:
$ cmake -Dfile=good.tif -P EqualTest.cmake
-- ARGV0: c:\Program Files (x86)\CMake 2.8\bin\cmake.exe
-- ARGV1: -Dfile=good.tif
-- ARGV2: -P
-- ARGV3: EqualTest.cmake
-- ARGV4:
-- ExternalData file: good.tif
[OK]
$ cmake -Dfile=slice_01524_z=5.0034um.tif -P EqualTest.cmake
-- ARGV0: c:\Program Files (x86)\CMake 2.8\bin\cmake.exe
-- ARGV1: -Dfile=slice_01524_z=5.0034um.tif
-- ARGV2: -P
-- ARGV3: EqualTest.cmake
-- ARGV4:
-- ExternalData file: slice_01524_z=5.0034um.tif
[OK]
$ cmake -Dfile=InLens/slice_01524_z=5.0034um.tif -P EqualTest.cmake
-- ARGV0: c:\Program Files (x86)\CMake 2.8\bin\cmake.exe
-- ARGV1: -Dfile=InLens/slice_01524_z=5.0034um.tif
-- ARGV2: -P
-- ARGV3: EqualTest.cmake
-- ARGV4:
-- ExternalData file: InLens/slice_01524_z=5.0034um.tif
[OK]
$ cmake -Dfile=C:/slice_01524_z=5.0034um.tif -P EqualTest.cmake
-- ARGV0: c:\Program Files (x86)\CMake 2.8\bin\cmake.exe
-- ARGV1: -Dfile=C:/slice_01524_z=5.0034um.tif
-- ARGV2: -P
-- ARGV3: EqualTest.cmake
-- ARGV4:
-- ExternalData file:
[FAIL]
So it looks like when the value has the dive and an equal sign no value is
assigned.
Bug?
Thanks,
Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake