Skip to content

Commit e30a90d

Browse files
netelerlbartoletti
authored andcommitted
Sync to PR Cmake build2 OSGeo#348 (replaces OSGeo#348)
1 parent e5001b8 commit e30a90d

File tree

12 files changed

+22
-18
lines changed

12 files changed

+22
-18
lines changed

cmake/ctypesgen.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set(ENV{LC_ALL} C)
1616
set(LIBRARIES)
1717
foreach(LIB ${LIBS})
1818
if(WIN32)
19-
list(APPEND LIBRARIES "--library=${BIN_DIR}/bin/${LIB}.dll")
19+
list(APPEND LIBRARIES "--library=${BIN_DIR}/lib/${LIB}.dll")
2020
elseif(APPLE)
2121
list(APPEND LIBRARIES "--library=${BIN_DIR}/lib/lib${LIB}.so")
2222
else()

cmake/modules/build_library_in_subdir.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ macro(build_library_in_subdir dir_name)
1313
#message("dir_name=${dir_name} |g_name= ${g_name}")
1414
build_module(NAME grass_${g_name} SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/${dir_name} ${ARGN})
1515
endif()
16-
endmacro()
16+
endmacro()

cmake/modules/build_program.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# Read the file COPYING that comes with GRASS for details.
66
macro(build_program)
77
build_module(${ARGN} EXE)
8-
endmacro()
8+
endmacro()

cmake/modules/get_versions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ set(${var_major} ${version_major} PARENT_SCOPE)
3131
set(${var_minor} ${version_minor} PARENT_SCOPE)
3232
set(${var_release} ${version_release} PARENT_SCOPE)
3333
set(${var_date} ${version_date} PARENT_SCOPE)
34-
endfunction()
34+
endfunction()

cmake/modules/repo_status.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ execute_process(
3333

3434
set(${version_git_var} "${GRASS_VERSION_GIT}" PARENT_SCOPE)
3535

36-
endfunction() #repo_status
36+
endfunction() #repo_status

cmake/modules/set_compiler_flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ endif()
1010
set(CMAKE_CXX_FLAGS "${GRASS_CXX_FLAGS} ${CMAKE_CXX_FLAGS}")
1111
set(CMAKE_C_FLAGS "${GRASS_C_FLAGS} ${CMAKE_C_FLAGS}")
1212

13-
endmacro()
13+
endmacro()

gui/icons/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ endforeach()
2020
foreach(ICON ${GRASS_ICONS})
2121
get_filename_component(FILE_NAME ${ICON} NAME)
2222
add_custom_command(OUTPUT ${GISBASE}/gui/icons/grass/${FILE_NAME}
23-
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/gui/icons/grass/
24-
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/docs/html/icons/)
23+
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/gui/icons/grass/)
2524
list(APPEND output_icons ${GISBASE}/gui/icons/grass/${FILE_NAME})
25+
26+
add_custom_command(OUTPUT ${GISBASE}/docs/html/icons/${FILE_NAME}
27+
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/docs/html/icons/)
2628
list(APPEND output_icons ${GISBASE}/docs/html/icons/${FILE_NAME})
2729
endforeach()
2830

31+
2932
foreach(ICON ${FLAGS_ICONS})
3033
get_filename_component(FILE_NAME ${ICON} NAME)
3134
add_custom_command(OUTPUT ${GISBASE}/gui/icons/flags/${FILE_NAME}

gui/images/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ add_custom_target(gui_images
1818
DEPENDS gui_icons ${output_images})
1919

2020
install(FILES ${GUI_IMAGES} DESTINATION gui/images/)
21-
install(DIRECTORY basic DESTINATION gui/images/symbols/)
22-
install(DIRECTORY demo DESTINATION gui/images/symbols/)
23-
install(DIRECTORY extra DESTINATION gui/images/symbols/)
24-
install(DIRECTORY geology DESTINATION gui/images/symbols/)
25-
install(DIRECTORY legend DESTINATION gui/images/symbols/)
26-
install(DIRECTORY n_arrows DESTINATION gui/images/symbols/)
21+
install(DIRECTORY symbols/basic DESTINATION gui/images/symbols/)
22+
install(DIRECTORY symbols/demo DESTINATION gui/images/symbols/)
23+
install(DIRECTORY symbols/extra DESTINATION gui/images/symbols/)
24+
install(DIRECTORY symbols/geology DESTINATION gui/images/symbols/)
25+
install(DIRECTORY symbols/legend DESTINATION gui/images/symbols/)
26+
install(DIRECTORY symbols/n_arrows DESTINATION gui/images/symbols/)

lib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ build_library_in_subdir(arraystats DEPENDS grass_gis)
141141

142142
if(WITH_OPENGL)
143143
build_library_in_subdir(ogsf
144-
DEPENDS grass_raster grass_raster3d OPENGL TIFF)
144+
DEPENDS grass_raster grass_raster3d grass_vector grass_bitmap OPENGL TIFF)
145145

146146
build_library_in_subdir(nviz
147-
DEPENDS grass_display grass_raster grass_vector grass_bitmap OPENGL TIFF)
147+
DEPENDS grass_display grass_raster grass_vector grass_bitmap grass_ogsf OPENGL TIFF)
148148
endif()
149149

150150
add_subdirectory(temporal)

lib/init/license.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Geographic Resources Analysis Support System (GRASS) is Copyright,
22
1999-@GRASS_VERSION_DATE@ by the GRASS Development Team, and licensed under terms of the
33
GNU General Public License (GPL) version >=2.
4-
4+
55
This GRASS GIS @GRASS_VERSION_NUMBER@ release is coordinated and produced by
66
the GRASS Development Team with contributions from all over the world.
77

0 commit comments

Comments
 (0)