Browse Source

Display also all headers in project view of IDEs.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
082fc1fe04
  1. 4
      src/MagnumPlugins/MagnumFont/CMakeLists.txt
  2. 4
      src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt

4
src/MagnumPlugins/MagnumFont/CMakeLists.txt

@ -30,7 +30,9 @@ set(MagnumFont_HEADERS
MagnumFont.h)
# Objects shared between plugin and test library
add_library(MagnumFontObjects OBJECT ${MagnumFont_SRCS})
add_library(MagnumFontObjects OBJECT
${MagnumFont_SRCS}
${MagnumFont_HEADERS})
if(NOT BUILD_PLUGINS_STATIC OR BUILD_STATIC_PIC)
set_target_properties(MagnumFontObjects PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif()

4
src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt

@ -30,7 +30,9 @@ set(MagnumFontConverter_HEADERS
MagnumFontConverter.h)
# Objects shared between plugin and test library
add_library(MagnumFontConverterObjects OBJECT ${MagnumFontConverter_SRCS})
add_library(MagnumFontConverterObjects OBJECT
${MagnumFontConverter_SRCS}
${MagnumFontConverter_HEADERS})
if(NOT BUILD_PLUGINS_STATIC OR BUILD_STATIC_PIC)
set_target_properties(MagnumFontConverterObjects PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif()

Loading…
Cancel
Save