Skip to content

Commit

Permalink
Update project config
Browse files Browse the repository at this point in the history
  • Loading branch information
dvsku committed Jan 27, 2024
1 parent be5b85d commit 743d81a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SET(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
IF(WIN32 AND "${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
ENABLE_LANGUAGE("RC")

SET(OUTPUT_DIR "bin/windows/${CMAKE_CXX_COMPILER_ID}/${CMAKE_BUILD_TYPE}")
SET(OUTPUT_DIR "binaries/windows/${CMAKE_CXX_COMPILER_ID}/${CMAKE_BUILD_TYPE}")
STRING(TOLOWER ${OUTPUT_DIR} OUTPUT_DIR_LOWER)

SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/${OUTPUT_DIR_LOWER}")
Expand All @@ -30,7 +30,7 @@ IF(WIN32 AND "${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
SET(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /GL /DNDEBUG")

IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
ADD_LINK_OPTIONS("/LTCG- /DEBUG")
ADD_LINK_OPTIONS("/DEBUG")
ELSEIF(CMAKE_BUILD_TYPE STREQUAL "Release")
ADD_LINK_OPTIONS("/LTCG")
ENDIF()
Expand Down

0 comments on commit 743d81a

Please sign in to comment.