From 42c6b1751e2d376f20d81189dc942b108e24cfca Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 5 Feb 2013 23:58:07 -0500 Subject: [PATCH] cmake files --- CMakeLists.txt | 1 + cpu/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 cpu/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index c638db7..7a70280 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,3 +6,4 @@ project(mpw) cmake_minimum_required(VERSION 2.6) add_subdirectory(bin) +add_subdirectory(cpu) \ No newline at end of file diff --git a/cpu/CMakeLists.txt b/cpu/CMakeLists.txt new file mode 100644 index 0000000..17281e3 --- /dev/null +++ b/cpu/CMakeLists.txt @@ -0,0 +1,5 @@ +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CPU_SRC CpuModule_Disassembler.c) + +add_library(CPU_LIB ${CPU_SRC})