FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

modify build script · yaSebastian/EmmyLuaCodeStyle@aece5e8 · GitHub

Repository navigation

Commit aece5e8

Browse files
committed
modify build script
1 parent d457471 commit aece5e8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
mkdir build
4444
cd build
4545
cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF
46-
cmake --build . --config Release
46+
cmake --build . --config Release --verbose
4747
ctest -V -C Release
4848
cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/
4949
- name: Build-macosx
@@ -56,7 +56,7 @@ jobs:
5656
else
5757
cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF
5858
fi
59-
cmake --build . --config Release
59+
cmake --build . --config Release --verbose
6060
ctest -V -C Release
6161
cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/
6262

‎CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ if(APPLE)
1919
set(CMAKE_REQUIRED_LINK_OPTIONS "-arch;arm64")
2020
check_c_compiler_flag("-arch arm64" arm64Supported)
2121
message("arm64Supported=${arm64Supported}")
22+
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
23+
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
2224
endif ()
2325

2426
add_subdirectory(LuaParser)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL