Hello averyone, i am crash with my brain with this.... 
this is a little piece of my code... 

set(PROG_SRC main.cpp version.cpp) 
message(STATUS "TO CHECK: " ${PROG_SRC}) 

when i expect that the message output: "main.cpp;version.cpp", that was 
"main.cppversion.cpp" whitout the ';'... 

but this is not all... 

I'm declared a function to check the style... 



function(add_style_check_target TARGET_NAME SOURCES_LIST) 
message(STATUS "TO CHECK2: " ${SOURCES_LIST}) 
endfunction(add_style_check_target) 




But in that moment the only thing that show is the first element 
("main.cpp")... sooo where are the others elements of the list??? 


________________________________________________________________________________________________
I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de 
abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu
-- 

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to