summaryrefslogtreecommitdiffstats
path: root/arch/x86/port/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/port/CMakeLists.txt')
-rw-r--r--arch/x86/port/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/x86/port/CMakeLists.txt b/arch/x86/port/CMakeLists.txt
new file mode 100644
index 0000000..6ad61ef
--- /dev/null
+++ b/arch/x86/port/CMakeLists.txt
@@ -0,0 +1,16 @@
+add_library(Port STATIC)
+target_link_libraries(Port PUBLIC CXX_COMPILER_REQUIREMENTS)
+
+target_sources(Port PRIVATE
+ ${CMAKE_CURRENT_LIST_DIR}/PortOps.cpp
+)
+
+target_sources(Port
+ PUBLIC
+ FILE_SET HEADERS
+ FILES
+ ${CMAKE_CURRENT_LIST_DIR}/PortOps.h
+ ${CMAKE_CURRENT_LIST_DIR}/Operations
+)
+
+target_link_libraries(Architecture INTERFACE Port)