Skip to content

Commit

Permalink
🔧 Added class for parsing command line parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherFoxGuy committed May 19, 2022
1 parent bce41c5 commit 16e58c3
Show file tree
Hide file tree
Showing 10 changed files with 2,148 additions and 33 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
find_program(SCCACHE_PROGRAM sccache)
find_program(CCACHE_PROGRAM ccache)
if (SCCACHE_PROGRAM)
set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE_PROGRAM}")
#set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE_PROGRAM}")
message("Using ${SCCACHE_PROGRAM} for speeding up build")
elseif (CCACHE_PROGRAM)
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
Expand Down Expand Up @@ -124,6 +124,8 @@ message(STATUS "Build configuration: " ${CMAKE_BUILD_TYPE})

if (UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -fdiagnostics-color=always")
elseif(WIN32)
set(CMAKE_CXX_FLAGS "/FS ${CMAKE_CXX_FLAGS}")
endif ()

add_subdirectory(src)
Expand Down
Loading

0 comments on commit 16e58c3

Please sign in to comment.