mirror of
https://github.com/ksherlock/mpw.git
synced 2024-12-01 13:52:22 +00:00
20 lines
574 B
CMake
20 lines
574 B
CMake
#set(CMAKE_C_COMPILER "clang")
|
|
#set(CMAKE_CXX_COMPILER "clang++")
|
|
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -Wno-deprecated-declarations -g")
|
|
SET(CMAKE_EXE_LINKER_FLAGS "-framework Carbon")
|
|
|
|
add_definitions(-I ${CMAKE_SOURCE_DIR}/)
|
|
|
|
|
|
add_executable(mpw loader.cpp)
|
|
target_link_libraries(mpw CPU_LIB)
|
|
target_link_libraries(mpw TOOLBOX_LIB)
|
|
target_link_libraries(mpw MPW_LIB)
|
|
target_link_libraries(mpw MPLITE_LIB)
|
|
target_link_libraries(mpw MACOS_LIB)
|
|
|
|
|
|
add_executable(disasm disasm.cpp)
|
|
target_link_libraries(disasm CPU_LIB)
|
|
target_link_libraries(disasm MACOS_LIB)
|