| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,7 @@ jobs: | |||
| 43 | 43 | mkdir build | |
| 44 | 44 | cd build | |
| 45 | 45 | cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF | |
| 46 | - cmake --build . --config Release | ||
| 46 | + cmake --build . --config Release --verbose | ||
| 47 | 47 | ctest -V -C Release | |
| 48 | 48 | cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/ | |
| 49 | 49 | - name: Build-macosx | |
@@ -56,7 +56,7 @@ jobs: | |||
| 56 | 56 | else | |
| 57 | 57 | cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF | |
| 58 | 58 | fi | |
| 59 | - cmake --build . --config Release | ||
| 59 | + cmake --build . --config Release --verbose | ||
| 60 | 60 | ctest -V -C Release | |
| 61 | 61 | cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/ | |
| 62 | 62 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,8 @@ if(APPLE) | |||
| 19 | 19 | set(CMAKE_REQUIRED_LINK_OPTIONS "-arch;arm64") | |
| 20 | 20 | check_c_compiler_flag("-arch arm64" arm64Supported) | |
| 21 | 21 | message("arm64Supported=${arm64Supported}") | |
| 22 | + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") | ||
| 23 | + set(CMAKE_CXX_FLAGS_RELEASE "-O3") | ||
| 22 | 24 | endif () | |
| 23 | 25 | ||
| 24 | 26 | add_subdirectory(LuaParser) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments