diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt index 005d847..db4ff85 100644 --- a/bin/CMakeLists.txt +++ b/bin/CMakeLists.txt @@ -2,4 +2,9 @@ #set(CMAKE_CXX_COMPILER "clang++") set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -g -Wno-deprecated-declarations ") SET(CMAKE_EXE_LINKER_FLAGS "-framework Carbon") -add_executable(loader loader.cpp) + +add_definitions(-I ${CMAKE_SOURCE_DIR}/) + + +add_executable(mpw loader.cpp) +target_link_libraries(mpw CPU_LIB)