Try to fix compilation under MacOS

This commit is contained in:
Enrico Fraccaroli (Galfurian)
2023-11-30 13:28:09 -05:00
parent 3e51197ae4
commit 290ed59d0b
5 changed files with 13 additions and 61 deletions
+1 -38
View File
@@ -6,44 +6,7 @@
cmake_minimum_required(VERSION 3.1...3.22)
# Initialize the project.
project(programs)
enable_language(C)
# =============================================================================
# List of programs.
# =============================================================================
# Add your file in this list.
set(PROGRAMS
init.c
cpuid.c
clear.c
date.c
ls.c
logo.c
nice.c
poweroff.c
rm.c
shell.c
uname.c
cat.c
echo.c
login.c
mkdir.c
pwd.c
rmdir.c
showpid.c
touch.c
env.c
ps.c
kill.c
ipcrm.c
ipcs.c
sleep.c
man.c
edit.c
uptime.c
)
project(programs C)
# =============================================================================
# C WARNINGs
+1 -3
View File
@@ -6,9 +6,7 @@
cmake_minimum_required(VERSION 3.1...3.22)
# Initialize the project.
project(tests)
enable_language(C)
project(tests C)
# =============================================================================
# List of programs.