Skip to content

Commit 16e58c3

Browse files
committed
🔧 Added class for parsing command line parameters
1 parent bce41c5 commit 16e58c3

10 files changed

Lines changed: 2148 additions & 33 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
3030
find_program(SCCACHE_PROGRAM sccache)
3131
find_program(CCACHE_PROGRAM ccache)
3232
if (SCCACHE_PROGRAM)
33-
set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE_PROGRAM}")
33+
#set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE_PROGRAM}")
3434
message("Using ${SCCACHE_PROGRAM} for speeding up build")
3535
elseif (CCACHE_PROGRAM)
3636
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
@@ -124,6 +124,8 @@ message(STATUS "Build configuration: " ${CMAKE_BUILD_TYPE})
124124

125125
if (UNIX)
126126
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -fdiagnostics-color=always")
127+
elseif(WIN32)
128+
set(CMAKE_CXX_FLAGS "/FS ${CMAKE_CXX_FLAGS}")
127129
endif ()
128130

129131
add_subdirectory(src)

0 commit comments

Comments
 (0)