mpw/bin/CMakeLists.txt

18 lines
513 B
CMake
Raw Normal View History

2013-02-05 23:41:11 -05:00
#set(CMAKE_C_COMPILER "clang")
#set(CMAKE_CXX_COMPILER "clang++")
2013-02-06 23:44:12 -05:00
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -Wno-deprecated-declarations -g")
2013-02-05 23:41:11 -05:00
SET(CMAKE_EXE_LINKER_FLAGS "-framework Carbon")
2013-02-06 19:11:32 -05:00
add_definitions(-I ${CMAKE_SOURCE_DIR}/)
2013-02-10 20:19:53 -05:00
add_executable(mpw loader.cpp traps.c)
2013-02-06 19:11:32 -05:00
target_link_libraries(mpw CPU_LIB)
2013-02-06 23:44:12 -05:00
target_link_libraries(mpw TOOLBOX_LIB)
2013-02-10 20:19:53 -05:00
target_link_libraries(mpw MPW_LIB)
2013-02-07 22:49:20 -05:00
target_link_libraries(mpw MPLITE_LIB)
2013-02-09 20:06:03 -05:00
add_executable(disasm disasm.cpp traps.c)
target_link_libraries(disasm CPU_LIB)