Skip to content
Permalink
Browse files
Fix for msvc so python parts build with nmake not vcexpress
git-svn-id: http://svn.osgeo.org/qgis/trunk@8288 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Mar 27, 2008
1 parent 922cd7f commit 3005fd8d3b6d8e929b0753e0dc2ad61707f244cc
Showing with 11 additions and 0 deletions.
  1. +11 −0 CMakeLists.txt
@@ -170,6 +170,17 @@ IF (WIN32)
SET (DEFAULT_INCLUDE_SUBDIR include)

IF (MSVC)
# Python parts need to be build with nmake not vcexpress
# if you dont add this clause, extra blank msvc projects
# will pop up mid way through the build process and block
# the build, plus the python bindings wont build correctly
SET (CMAKE_MAKE_PROGRAM nmake)
# put all the build products into a single directory
# under build (doesnt affect install target) to make for
# easier debugging.
SET(OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/bin)
SET(EXECUTABLE_OUTPUT_PATH ${OUTPUT_DIR})
SET(LIBRARY_OUTPUT_PATH ${OUTPUT_DIR})
#tell msvc compiler to use main instead of winmain as the
#application entry point
SET(QT_USE_QTMAIN TRUE)

0 comments on commit 3005fd8

Please sign in to comment.