File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff 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" )
2224endif ()
2325
2426add_subdirectory (LuaParser)
You can’t perform that action at this time.
0 commit comments