Skip to content

Commit

Permalink
maybe this works?
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByAidan committed Nov 7, 2023
1 parent 6eb6a91 commit 4f023bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,12 @@ project(largeintcalculator C)

set(CMAKE_C_STANDARD 17)

if(WIN32)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/builds/Windows/${CMAKE_BUILD_TYPE})
elseif(APPLE)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/builds/macOS/${CMAKE_BUILD_TYPE})
else()
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/builds/Linux/${CMAKE_BUILD_TYPE})
endif()

add_executable(largeintcalculator largeintcalculator.c)

0 comments on commit 4f023bd

Please sign in to comment.