summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/CMakeLists.txt3
-rw-r--r--drivers/acpi/Acpi.h2
-rw-r--r--drivers/acpi/CMakeLists.txt17
-rw-r--r--drivers/acpi/Ics.h2
4 files changed, 22 insertions, 2 deletions
diff --git a/drivers/CMakeLists.txt b/drivers/CMakeLists.txt
new file mode 100644
index 0000000..c11b75f
--- /dev/null
+++ b/drivers/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_library(Drivers INTERFACE)
+
+add_subdirectory(acpi)
diff --git a/drivers/acpi/Acpi.h b/drivers/acpi/Acpi.h
index 506ab99..d9dc378 100644
--- a/drivers/acpi/Acpi.h
+++ b/drivers/acpi/Acpi.h
@@ -1,4 +1,4 @@
-#include <types.h>
+#include <Types.h>
#include <StringOperations.h>
#include "Ics.h"
diff --git a/drivers/acpi/CMakeLists.txt b/drivers/acpi/CMakeLists.txt
new file mode 100644
index 0000000..32f2fac
--- /dev/null
+++ b/drivers/acpi/CMakeLists.txt
@@ -0,0 +1,17 @@
+add_library(ACPI STATIC)
+target_link_libraries(ACPI PUBLIC CXX_COMPILER_REQUIREMENTS)
+
+target_sources(ACPI PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/Acpi.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/Ics.cpp
+)
+
+target_sources(ACPI
+ PUBLIC
+ FILE_SET HEADERS
+ FILES
+ ${CMAKE_CURRENT_LIST_DIR}/Acpi.h
+ ${CMAKE_CURRENT_LIST_DIR}/Ics.h
+)
+
+target_link_libraries(Drivers INTERFACE ACPI)
diff --git a/drivers/acpi/Ics.h b/drivers/acpi/Ics.h
index 8289c90..b4e38d4 100644
--- a/drivers/acpi/Ics.h
+++ b/drivers/acpi/Ics.h
@@ -1,4 +1,4 @@
-#include <types.h>
+#include <Types.h>
class Ics