Skip to content

Commit

Permalink
minor cleaning of python/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 10, 2017
1 parent b8b01ac commit 883e4f3
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions python/CMakeLists.txt
Expand Up @@ -113,6 +113,8 @@ INCLUDE_DIRECTORIES(
../src/core/scalebar
../src/core/symbology-ng

../src/gui
../src/gui/symbology-ng
../src/gui/raster
../src/gui/attributetable
../src/gui/auth
Expand All @@ -121,8 +123,12 @@ INCLUDE_DIRECTORIES(
../src/gui/effects
../src/gui/layertree

../src/plugins

${CMAKE_BINARY_DIR} # qgsconfig.h, qgsversion.h
${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
${CMAKE_BINARY_DIR}/src/analysis
)

Expand All @@ -147,15 +153,6 @@ GENERATE_SIP_PYTHON_MODULE_CODE(qgis._core core/core.sip cpp_files)
BUILD_SIP_PYTHON_MODULE(qgis._core core/core.sip ${cpp_files} "" qgis_core)
SET(SIP_CORE_CPP_FILES ${cpp_files})

# additional gui includes
INCLUDE_DIRECTORIES(
../src/gui
../src/gui/symbology-ng
../src/plugins
${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
)

# gui module
FILE(GLOB_RECURSE sip_files_gui gui/*.sip)
SET(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_gui})
Expand Down

0 comments on commit 883e4f3

Please sign in to comment.