On 1/12/2011 4:21 PM, SF Markus Elfring wrote:
I hope that the involved technical details can be better resolved in a
wider audience.

Now I would like to show a small script which demonstrates a specific
detail in the wording of an error message that I did not expect in this
way.

cmake_minimum_required(VERSION 2.6)
project(Bug11677)
set(MY_SOURCES "Alpha.cxx" "${Bug11677_SOURCE_DIR}/Zulu.cxx")
message(STATUS "=>${MY_SOURCES}<=")
add_executable(Bug11677 "${MY_SOURCES}")


Log result example for the build file generation try:

=>Alpha.cxx;/home/elfring/Projekte/CMake/Test/11677/source/Zulu.cxx<=
Configuring done
CMake Error at CMakeLists.txt:5 (add_executable):
Cannot find source file "Zulu.cxx". Tried extensions .c .C .c++ .cc .cpp
.cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


elfr...@sonne:~/Projekte/CMake/Test/11677/source> ls -l
insgesamt 12
-rw-r--r-- 1 elfring users 130 10. Jan 22:37 Alpha.cxx
-rw-r--r-- 1 elfring users 198 12. Jan 21:46 CMakeLists.txt
-rw-r--r-- 1 elfring users 130 10. Jan 22:37 Zulu.cxx


How do you think about this situation?


What would you like it to print?


-Bill
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to