Skip to content

Commit

Permalink
Linux conf
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisbf-kpsr committed Sep 19, 2023
1 parent c2c440f commit fad3f7f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/style_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ jobs:
mkdir build && cd build
cmake ../
make cmake-format-check
- name: Checks clang format
run: |
mkdir build && cd build
cmake ../
make format
9 changes: 6 additions & 3 deletions cmake/SetCxxFlagsRelease.cmake → cmake/ConfigureLinux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

macro(set_cxx_flags_release opt_flag)
string(APPEND CMAKE_CXX_FLAGS_RELEASE " ${opt_flag}")
endmacro()
include(SetCxxStandard)
set_cxx_standard(11)

set(KPSR_COMPILE_SPDLOG
true
CACHE BOOL "Compile spdlog as lib or use header only version")

0 comments on commit fad3f7f

Please sign in to comment.