Skip to content

Commit

Permalink
compilation options
Browse files Browse the repository at this point in the history
  • Loading branch information
AzzieDev committed Mar 17, 2023
1 parent 9f8f874 commit 57ee062
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
cmake_minimum_required(VERSION 3.0)

project(Cryptkeeper)

#for POSIX: use
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc")
project(cryptkeeper)

# C++ standard libraries bundled
#set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc")

set(CMAKE_BUILD_TYPE Release)


include_directories(.)

add_executable(Cryptkeeper
add_executable(cryptkeeper
crypt.cpp
crypt.h)

#for Windows, using boost 1.81.0 in the below path, uncomment
# for Windows, using boost 1.81.0 in the below path, uncomment
#include_directories("C:/Program Files/Boost/boost_1_81_0/")

# for Windows to not need Visual C++ runtime installed
#set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /NODEFAULTLIB:MSVCRT")
#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")

0 comments on commit 57ee062

Please sign in to comment.