[question] Is there a conan v2 build helper to honor profile in nmake builds?
See original GitHub issue- I’ve read the CONTRIBUTING guide.
In conan v1, to ensure that we honor profile in nmake build, we have this kind of pattern:
with tools.vcvars(self):
with tools.environment_append(VisualStudioBuildEnvironment(self).vars):
self.run("nmake -f makefile.vc)
For vccars, there is conan.tools.microsoft.VCVars
we can call in generate()
, but how to properly populate CL
& LIB
so that build_type, runtime, tools.build:cflags
, tools.build:cxxflags
, tools.build:defines
etc from profile are honored?
Issue Analytics
- State:
- Created a year ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Changelog — conan 1.56.0 documentation
Conan reads them to call cmake with -D when using the CMake(self) build helper. These cache variables doesn't support multi-configuration generators.
Read more >1st Amendment U.S. Constitution--Religion and Expression
2 In the Senate, the section adopted read: ''Congress shall make no law establishing articles of faith, or a mode of worship, or...
Read more >501 Reading Comprehension Questions
Are you having trouble with reading comprehension questions on tests? Do you want to know how to improve your reading ability or pass....
Read more >Master Index CMake 2.8.12
Any standard UNIX-style make program can build the project through the default make target ... If the target is already built, the command...
Read more >Grade 9 ELA Sample SR Item C1 T1 - Hawaii DOE
Stimulus Text: Read the following passage and then answer the question. An Old-Fashioned Girl by Louisa May Alcott. Polly hoped the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Then, my proposal would be a new modern NMake dedicated generator.
I guess it’s already handled by
VCVars
generators actually.tools.build:jobs
can be honored by injecting/MP<build_jobs>
inCL
, or just/MP
iftools.build:jobs
is not set (for consistency with other build systems).