mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
usec ClangCL instead of MVC
This commit is contained in:
parent
ee5c92ff16
commit
4f66d198b9
2 changed files with 2 additions and 3 deletions
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: configure
|
||||
run: cmake -Stest -Bbuild
|
||||
run: cmake -Stest -Bbuild -G "Visual Studio 16 2019" -T ClangCL
|
||||
|
||||
- name: build
|
||||
run: cmake --build build --config Debug -j4
|
||||
|
|
|
@ -13,8 +13,7 @@ namespace greeter {
|
|||
* @brief A class for saying hello in multiple languages
|
||||
*/
|
||||
class GREETER_EXPORT Greeter {
|
||||
protected:
|
||||
std::string GREETER_EXPORT name;
|
||||
std::string name;
|
||||
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue