summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/kernel/CMakeLists.txt3
-rw-r--r--src/kernel/tests/CMakeLists.txt3
-rw-r--r--src/kernel/tests/lib/CMakeLists.txt3
-rw-r--r--src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt3
-rw-r--r--src/utils/CMakeLists.txt3
-rw-r--r--src/utils/lib/CMakeLists.txt3
-rw-r--r--src/utils/libsmartcols/CMakeLists.txt3
-rw-r--r--src/utils/sys-utils/CMakeLists.txt3
9 files changed, 18 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 646a53f..7b88af3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
-project(xloop-src)
+project(xloop-src
+ LANGUAGES C)
add_subdirectory(kernel)
add_subdirectory(utils)
diff --git a/src/kernel/CMakeLists.txt b/src/kernel/CMakeLists.txt
index 2f1446a..3dcc8a2 100644
--- a/src/kernel/CMakeLists.txt
+++ b/src/kernel/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
-project(xloop-kernel)
+project(xloop-kernel-modules
+ LANGUAGES C)
# include macros to define Linux kernel build targets
include(Kernel)
diff --git a/src/kernel/tests/CMakeLists.txt b/src/kernel/tests/CMakeLists.txt
index 201abcb..cf274ef 100644
--- a/src/kernel/tests/CMakeLists.txt
+++ b/src/kernel/tests/CMakeLists.txt
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.10)
-project(xloop-kernel-test)
+project(xloop-kernel-test
+ LANGUAGES C)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/old)
diff --git a/src/kernel/tests/lib/CMakeLists.txt b/src/kernel/tests/lib/CMakeLists.txt
index 5b3f421..fafdd38 100644
--- a/src/kernel/tests/lib/CMakeLists.txt
+++ b/src/kernel/tests/lib/CMakeLists.txt
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.10)
-project(xloop-kernel-test-lib)
+project(xloop-kernel-test-lib
+ LANGUAGES C)
add_library(libltp STATIC ${CMAKE_CURRENT_SOURCE_DIR}/cloner.c
${CMAKE_CURRENT_SOURCE_DIR}/get_path.c
diff --git a/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt b/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
index f503838..c6156f6 100644
--- a/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
+++ b/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.10)
-project(xloop-kernel-test-ioctl_xloop)
+project(xloop-kernel-test-ioctl_xloop
+ LANGUAGES C)
# test ioctl_xloop01
add_executable(ioctl_xloop01 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop01.c)
diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt
index f3ea912..e791a40 100644
--- a/src/utils/CMakeLists.txt
+++ b/src/utils/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
-project(xloop-utils)
+project(xloop-utils
+ LANGUAGES C)
# include global headers
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
diff --git a/src/utils/lib/CMakeLists.txt b/src/utils/lib/CMakeLists.txt
index 22eafb3..ac70039 100644
--- a/src/utils/lib/CMakeLists.txt
+++ b/src/utils/lib/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
-project(xloop-utils-lib)
+project(xloop-utils-lib
+ LANGUAGES C)
add_library(libcommon STATIC ${CMAKE_CURRENT_SOURCE_DIR}/blkdev.c
${CMAKE_CURRENT_SOURCE_DIR}/canonicalize.c
diff --git a/src/utils/libsmartcols/CMakeLists.txt b/src/utils/libsmartcols/CMakeLists.txt
index dccb5e2..307f06d 100644
--- a/src/utils/libsmartcols/CMakeLists.txt
+++ b/src/utils/libsmartcols/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
-project(xloop-utils-libsmartcols)
+project(xloop-utils-libsmartcols
+ LANGUAGES C)
add_library(libsmartcols STATIC ${CMAKE_CURRENT_SOURCE_DIR}/src/buffer.c
${CMAKE_CURRENT_SOURCE_DIR}/src/calculate.c
diff --git a/src/utils/sys-utils/CMakeLists.txt b/src/utils/sys-utils/CMakeLists.txt
index e05b5cf..56bc69c 100644
--- a/src/utils/sys-utils/CMakeLists.txt
+++ b/src/utils/sys-utils/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
-project(xloop-utils-sys-utils)
+project(xloop-utils-sys-utils
+ LANGUAGES C)
# add xlosetup executable
add_executable(xlosetup ${CMAKE_CURRENT_SOURCE_DIR}/xlosetup.c)