aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/vsprojects
diff options
context:
space:
mode:
authorGravatar Michael Larson <mlarson@westernintech.com>2015-07-19 10:48:35 -0700
committerGravatar Michael Larson <mlarson@westernintech.com>2015-07-19 10:48:35 -0700
commit6e081e0453b8194bb389ebd811bdc253551045d2 (patch)
tree30dc7e1fc7a7ad777c0a27f5bdbff964ba68334a /templates/vsprojects
parentb19d4ebba01b5a90b69230bcfdd7426bc791aacf (diff)
changed .sln to include hint about lib vs. target
Diffstat (limited to 'templates/vsprojects')
-rw-r--r--templates/vsprojects/sln_defs.include9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/vsprojects/sln_defs.include b/templates/vsprojects/sln_defs.include
index ee05d0fbde..4ba0fbff07 100644
--- a/templates/vsprojects/sln_defs.include
+++ b/templates/vsprojects/sln_defs.include
@@ -15,6 +15,13 @@ cpp_proj_type = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"
%>\
% for project in solution_projects:
Project("${cpp_proj_type}") = "${project.name}", "${project.name}\${project.name}.vcxproj", "${project.vs_project_guid}"
+ ProjectSection(myProperties) = preProject
+ % if project.is_library:
+ lib = "True"
+ % else:
+ lib = "False"
+ % endif
+ EndProjectSection
% if project.get('deps', None):
ProjectSection(ProjectDependencies) = postProject
% for dep in project.get('deps', []):
@@ -47,4 +54,4 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
-</%def>\ \ No newline at end of file
+</%def>\