Skip to content

Commit

Permalink
final CI test (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Sep 15, 2023
1 parent ea68852 commit 7c10bd2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 625 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -DDEBUG -O0 -fsanitize=address,undefined,nullability") # -fsanitize=address,undefined,nullability
elseif(CMAKE_BUILD_TYPE MATCHES "Release")
MESSAGE(STATUS "Build set to release mode")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -g0 -fPIE")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -g0")
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
Expand All @@ -67,6 +67,7 @@ add_executable(${TARGET} "src/cli.cpp")
set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD 20)
set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD_REQUIRED ON)


# release stuff
if (NOT MSVC)
if(CMAKE_BUILD_TYPE MATCHES "Release")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ You can view the full docs [here](docs/documentation.md)


# Issues and pull requests
If you have any suggestions, ideas, or any sort of contribution, feel free to ask! I'll be more than happy to discuss :)
If you have any suggestions, ideas, or any sort of contribution, feel free to ask! I'll be more than happy to discuss. If you found this project useful, a star would be appreciated :)


# Credits ✒️
Expand Down
Loading

0 comments on commit 7c10bd2

Please sign in to comment.