File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
python/libgrass_interface_generator Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if(NOT MSVC)
3131endif ()
3232set (ENV{LC_ALL} C)
3333
34- set (CTYPESFLAGS "\" ${COMPILER} \" -E ${C_FLAGS} " )
34+ set (CTYPESFLAGS "${COMPILER} -E ${C_FLAGS} " )
3535
3636set (LIBRARIES)
3737foreach (LIB ${LIBS} )
@@ -40,7 +40,7 @@ endforeach()
4040
4141set (INC_HEADERS)
4242foreach (INCHDR ${INCHDRS} )
43- list (APPEND INC_HEADERS "-I\" ${INCHDR} \" " )
43+ list (APPEND INC_HEADERS "-I${INCHDR} " )
4444endforeach ()
4545
4646set (DEFINES)
@@ -61,7 +61,7 @@ endforeach()
6161message (STATUS "Generating ${OUT_FILE} " )
6262execute_process (
6363 COMMAND
64- ${PYTHON_EXECUTABLE} ${CTYPESGEN_PY} --cpp " ${CTYPESFLAGS} "
64+ ${PYTHON_EXECUTABLE} ${CTYPESGEN_PY} --cpp ${CTYPESFLAGS}
6565 --no -embed-preamble --strip-build -path ${RUNTIME_GISBASE} ${INC_HEADERS}
6666 ${LIBRARIES} ${DEFINES} -o ${OUT_FILE} ${HEADERS}
6767 OUTPUT_VARIABLE ctypesgen_OV
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ foreach(module ${MODULES})
7474 endif ()
7575
7676 if (NOT ${module} _INCHDRS)
77- set (${module} _INCHDRS} )
77+ set (${module} _INCHDRS)
7878 endif ()
7979 list (INSERT ${module} _INCHDRS 0 ${OUTDIR} /${GRASS_INSTALL_INCLUDEDIR} )
8080 if (CMAKE_INSTALL_INCLUDEDIR)
@@ -109,6 +109,7 @@ foreach(module ${MODULES})
109109 -DGRASS_INSTALL_DEMODIR=${GRASS_INSTALL_DEMODIR}
110110 -DGRASS_INSTALL_LIBDIR=${GRASS_INSTALL_LIBDIR}
111111 -DRUNTIME_GISBASE=${RUNTIME_GISBASE} -DOUT_FILE=${output_file}
112+ -DMSVC=${MSVC} -DAPPLE=${APPLE}
112113 -DGRASS_VERSION_NUMBER=${GRASS_VERSION_NUMBER}
113114 -DGRASS_VERSION_MAJOR=${GRASS_VERSION_MAJOR}
114115 -DGRASS_VERSION_MINOR=${GRASS_VERSION_MINOR} -P
You can’t perform that action at this time.
0 commit comments