Hi,

I try to add all header files in the include directory so they are visible
in QTCreator.
My attempt looks like this.

file(GLOB Demo_HEADERS RELATIVE ${CMAKE_SOURCE_DIR}/include "*.h")
message(STATUS ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
message(STATUS "${Demo_HEADERS}")
message(STATUS ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
add_library(headers SHARED ${Demo_HEADERS} Dummy.cpp)

Unfortunately the ${Demo_HEADERS} thing is empty :(

regards



-- 
Witold Eryk Wolski

Triemlistrasse 155
8047 Zuerich
--

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