Skip to content

Commit

Permalink
Adding mb64 executable
Browse files Browse the repository at this point in the history
  • Loading branch information
msoulier committed Apr 19, 2024
1 parent 9938831 commit 6c3399f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# 1: Set the minimum required version of CMake to be 3.10
cmake_minimum_required(VERSION 3.10)

# 2: Create a project named Tutorial
project(mikelibc
VERSION 1.0.5
DESCRIPTION "Mike's personal C library"
Expand All @@ -11,10 +10,13 @@ project(mikelibc
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED True)

configure_file(config.h.in config.in)
configure_file(config.h.in config.h)

add_library(mike STATIC
madt.c mbase64.c mdebug.c mikelib.c mlog.c mnet.c mstr.c mutil.c)
target_include_directories(mike PUBLIC ${PROJECT_BINARY_DIR})

add_executable(mb64
mb64.c mbase64.c mdebug.c)

set(CMAKE_C_COMPILER gcc)

0 comments on commit 6c3399f

Please sign in to comment.