Skip to content

Commit

Permalink
Update output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dvsku committed Nov 23, 2023
1 parent e61937b commit d041fc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@

.vs/
out/
bin/
binaries/
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ PROJECT (libevp C CXX)
ENABLE_TESTING()

IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(OUTPUT_DIR "bin/linux/${CMAKE_CXX_COMPILER_ID}/${CMAKE_BUILD_TYPE}")
SET(OUTPUT_DIR "binaries/linux/${CMAKE_CXX_COMPILER_ID}/${CMAKE_BUILD_TYPE}")
STRING(TOLOWER ${OUTPUT_DIR} OUTPUT_DIR_LOWER)
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
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)
ENDIF()

Expand Down

0 comments on commit d041fc1

Please sign in to comment.