You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
I'm trying to create an internal Boost Date Time package. I don't want to use the one already available online because we do internal builds and store the symbols.
There's a convention in my company that all the external code resides in a folder whose path is specified by an environment variable.
Here's the script i'm using:
nuget {
nuspec {
id = boost.date_time;
version: 1.57.0;
title: Boost Date Time Library;
authors: {BOOST};
owners: {BOOST};
licenseUrl: "http://www.boost.org/users/license.html";
projectUrl: "http://www.boost.org/";
iconUrl:
requireLicenseAcceptance: false;
summary: A set of date-time libraries based on generic programming concepts.;
description: A set of date-time libraries based on generic programming concepts.;
releaseNotes: "See http://www.boost.org/doc/libs/1_57_0/doc/html/date_time.html";
copyright: Copyright 2014;
tags: {};
};
files {
#defines {
INCLUDE = ${EXTERNALS_PATH}\boost_1_57_0\include\boost\;
SDK = ${EXTERNALS_PATH}\boost_1_57_0\v120\;
VERSION = 1_57;
};
nestedInclude: {
#destination = ${d_include}\boost_1_57_0\include\boost\date_time;
"${INCLUDE}date_time\**\*"
};
[x86,v120,debug] {
lib: ${SDK}Win32\boost_date_time-vc120-mt-gd-${VERSION}.lib;
bin: ${SDK}Win32\boost_date_time-vc120-mt-gd-${VERSION}.dll;
}
[x86,v120,release] {
lib: ${SDK}Win32\boost_date_time-vc120-mt-${VERSION}.lib;
bin: ${SDK}Win32\boost_date_time-vc120-mt-${VERSION}.dll;
}
[x64,v120,debug] {
lib: ${SDK}x64\boost_date_time-vc120-mt-gd-${VERSION}.lib;
bin: ${SDK}x64\boost_date_time-vc120-mt-gd-${VERSION}.dll;
}
[x64,v120,release] {
lib: ${SDK}x64\boost_date_time-vc120-mt-${VERSION}.lib;
bin: ${SDK}x64\boost_date_time-vc120-mt-${VERSION}.dll;
}
}
}
When I run this script i get the following warnings:
PS C:\Workspace\foundations\sw_foundations\release\boost> Write-NuGetPackage .\date_time.autopkg
WARNING: ProcessNugetFiles:WARNING: file selection 'C:\workspace\externals\boost_1_57_0\include\boost\date_time\**\*'
failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\Win32\boost_date_time-vc120-mt-gd-1_57.lib' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\Win32\boost_date_time-vc120-mt-gd-1_57.dll' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\Win32\boost_date_time-vc120-mt-1_57.lib' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\Win32\boost_date_time-vc120-mt-1_57.dll' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\x64\boost_date_time-vc120-mt-gd-1_57.lib' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\x64\boost_date_time-vc120-mt-gd-1_57.dll' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\x64\boost_date_time-vc120-mt-1_57.lib' failed to find any files
WARNING: ProcessNugetFiles:WARNING: file selection
'C:\workspace\externals\boost_1_57_0\v120\x64\boost_date_time-vc120-mt-1_57.dll' failed to find any files
But all these files exist and these are their correct paths.
When I put the same script in the directory where boost resides and change INCLUDE and SDK to use relative paths the package builds successfully and correctly.
The text was updated successfully, but these errors were encountered:
dinazil
changed the title
Absolute
Absolute file paths seem to be unsupported
Dec 21, 2014
Fair enough, getboost may have solved his problem. But what about the issue of absolute paths? I have exactly this problem when I have to specify the top level of my files with a full path (which varies, depending on whether it is a local build on my pc or a build on a TFS build machine).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to create an internal Boost Date Time package. I don't want to use the one already available online because we do internal builds and store the symbols.
There's a convention in my company that all the external code resides in a folder whose path is specified by an environment variable.
Here's the script i'm using:
When I run this script i get the following warnings:
But all these files exist and these are their correct paths.
When I put the same script in the directory where boost resides and change INCLUDE and SDK to use relative paths the package builds successfully and correctly.
The text was updated successfully, but these errors were encountered: