Skip to content
Snippets Groups Projects
Commit 9d9b805c authored by Nicolas "Pixel" Noble's avatar Nicolas "Pixel" Noble
Browse files

Adressing comments.

parent b049ba8f
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,6 @@ and "vsproject_dict", to be used by the visual studio generators.
"""
import re
def mako_plugin(dictionary):
"""The exported plugin code for generate_vsprojeccts
......@@ -27,10 +24,13 @@ def mako_plugin(dictionary):
projects = []
projects.extend(libs)
projects.extend(targets)
projects = [project for project in projects if project.get('vs_project_guid', None)]
# Exclude projects without a visual project guid, such as the tests.
projects = [project for project in projects
if project.get('vs_project_guid', None)]
## Exclude C++ projects for now
projects = [project for project in projects if not project.language == 'c++']
# Exclude C++ projects for now
projects = [project for project in projects
if not project['language'] == 'c++']
project_dict = dict([(p['name'], p) for p in projects])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment