mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +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') }}
|
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
run: cmake -Stest -Bbuild
|
run: cmake -Stest -Bbuild -G "Visual Studio 16 2019" -T ClangCL
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build --config Debug -j4
|
run: cmake --build build --config Debug -j4
|
||||||
|
|
|
@ -13,8 +13,7 @@ namespace greeter {
|
||||||
* @brief A class for saying hello in multiple languages
|
* @brief A class for saying hello in multiple languages
|
||||||
*/
|
*/
|
||||||
class GREETER_EXPORT Greeter {
|
class GREETER_EXPORT Greeter {
|
||||||
protected:
|
std::string name;
|
||||||
std::string GREETER_EXPORT name;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue