We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b701ea commit bbaf392Copy full SHA for bbaf392
1 file changed
SolutionProjectModel/testCppApp.cpp
@@ -31,7 +31,12 @@ void main(void)
31
[](PlatformConfigurationProperties* props)
32
{
33
CustomBuildToolProperties& custtool= *((CustomBuildToolProperties*)props);
34
- custtool.Command = "echo Hello world";
+ CStringW cmd = "..\\cppexec.exe %(FullPath) >$(IntermediateOutputPath)%(Filename).def";
35
+ cmd += "\n";
36
+ cmd += "lib /nologo /def:$(IntermediateOutputPath)%(Filename).def /machine:$(Platform) /out:$(IntermediateOutputPath)%(Filename)_lib.lib";
37
+ custtool.Message = "Generating static library for %(Identity)...";
38
+ custtool.Command = cmd;
39
+ custtool.Outputs = "$(IntermediateOutputPath)%(Filename)_lib.lib";
40
}
41
, &CustomBuildToolProperties::GetType());
42
0 commit comments