@@ -47,6 +47,8 @@ class DesktopTarget(prepare.Target):
ifplatform.system()=='Windows':
current_path=current_path.replace('\\','/')
self.config_file='configs/config-desktop.cmake'
ifplatform.system()=='Windows':
self.generator='Visual Studio 12 2013'
self.additional_args=[
'-DCMAKE_INSTALL_MESSAGE=LAZY',
'-DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH='+
...
...
@@ -162,7 +164,7 @@ def main(argv=None):
argparser.add_argument(
'-f','--force',help="Force preparation, even if working directory already exist.",action='store_true')
argparser.add_argument(
'-G','--generator',help="CMake build system generator (default: Unix Makefiles, use cmake -h to get the complete list).",default='Unix Makefiles',dest='generator')
'-G','--generator',help="CMake build system generator (default: let CMake choose, use cmake -h to get the complete list).",default=None,dest='generator')