diff options
| author | rebeccadoth <emmadoth@disroot.org> | 2025-09-19 23:51:19 +0200 |
|---|---|---|
| committer | rebeccadoth <emmadoth@disroot.org> | 2025-09-19 23:51:19 +0200 |
| commit | a4306e54861b131125dcc87e681afb335562a042 (patch) | |
| tree | 8667a690413b1b04826de89ae82becc28958da68 /CMakeLists.txt | |
initial commit
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..3082957 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.10) +project(crackme-keygen LANGUAGES C) + +set(CMAKE_C_STANDARD "23") + +if(CMAKE_C_COMPILER_ID MATCHES "MSVC") + set(CMAKE_C_FLAGS "/Wall") +else() + set(CMAKE_C_FLAGS "-Wall -Wextra -Wconversion") +endif() + +add_executable(crackme-keygen keygen.c) |
