View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010024CMakeCMakepublic2009-12-10 14:402016-06-10 14:31
ReporterTimothy St. Clair 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0010024: Support for vsprops or build-env settings per target.
DescriptionIt is very useful to have custom env settings for a target during build time. e.g. when calling legacy scripts as part of your build process which require that extra information.

In visual studio this is done through property sheets of (.vsprops) files.

TagsNo tags attached.
Attached Filesdiff file icon basic-props-sheets.diff [^] (1,792 bytes) 2014-03-15 10:16 [Show Content]

 Relationships

  Notes
(0021444)
Timothy St. Clair (reporter)
2010-07-21 16:17

It would be ideal if it were part of target properties.
(0024785)
David Cole (manager)
2011-01-17 14:09

A proposed patch, or a pointer to more documentation about .vsprops files and how they work would be welcome.
(0024787)
Timothy St. Clair (reporter)
2011-01-17 14:18

http://msdn.microsoft.com/en-us/library/a4xbdz1e(v=VS.80).aspx [^]
(0035414)
Gregor Jasny (developer)
2014-03-15 10:20

Hello,

I attached a proof-of-concept patch to add property sheets to VS 2012 vcxproj files.

Currently you can use it like:
cmake_minimum_required(VERSION 3.0)
add_executable(foo foo.cpp)
set_target_properties(foo PROPERTIES VS_PROPERTY_SHEETS "${CMAKE_CURRENT_SOURCE_DIR}/foo.props")


What's missing:
* I'd like to make the property sheets relative to the current CMake file like source files but got lost in the source.
* VS_PROPERTY_SHEETS_<CONFIG> handling (there are some headaches involved because property sheets are sensitive to ordering)

Thanks,
Gregor
(0041632)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-12-10 14:40 Timothy St. Clair New Issue
2010-07-21 16:17 Timothy St. Clair Note Added: 0021444
2011-01-17 14:09 David Cole Assigned To => David Cole
2011-01-17 14:09 David Cole Status new => assigned
2011-01-17 14:09 David Cole Note Added: 0024785
2011-01-17 14:18 Timothy St. Clair Note Added: 0024787
2011-10-26 00:05 David Cole Assigned To David Cole =>
2011-10-26 00:05 David Cole Status assigned => backlog
2014-03-15 10:16 Gregor Jasny File Added: basic-props-sheets.diff
2014-03-15 10:20 Gregor Jasny Note Added: 0035414
2014-07-10 01:14 Ravi Raman Note Added: 0036332
2014-07-28 11:59 Ravi Raman Note Deleted: 0036332
2016-06-10 14:27 Kitware Robot Note Added: 0041632
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:27 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team