[cmake] add folders for visual studio
This commit is contained in:
parent
a7ec89a8a1
commit
d17abeddb7
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -59,3 +59,4 @@ test/unit/run
|
||||||
test/visual/run
|
test/visual/run
|
||||||
# cmake
|
# cmake
|
||||||
build
|
build
|
||||||
|
.vs
|
||||||
|
|
|
@ -11,9 +11,11 @@ project(mapnik
|
||||||
DESCRIPTION "Mapnik is an open source toolkit for developing mapping applications"
|
DESCRIPTION "Mapnik is an open source toolkit for developing mapping applications"
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
message(STATUS "mapnik version: ${PROJECT_VERSION}")
|
message(STATUS "mapnik version: ${PROJECT_VERSION}")
|
||||||
|
|
||||||
|
# https://cliutils.gitlab.io/modern-cmake/chapters/features/ides.html
|
||||||
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||||
include(MapnikFindPackage)
|
include(MapnikFindPackage)
|
||||||
include(MapnikCopyDependencies)
|
include(MapnikCopyDependencies)
|
||||||
|
|
Loading…
Reference in a new issue