mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
14 lines
585 B
CMake
14 lines
585 B
CMake
set(CMAKE_CXX_FLAGS "--std=c++11 -Wall -Werror=return-type -Wno-multichar")
|
|
|
|
find_package(Boost COMPONENTS filesystem system REQUIRED)
|
|
|
|
add_executable(MakePEF MakePEF.cc rs6000.h PEF.h)
|
|
target_include_directories(MakePEF PRIVATE ${CMAKE_INSTALL_PREFIX}/include)
|
|
|
|
add_executable(MakeImport MakeImport.cc PEF.h)
|
|
target_link_libraries(MakeImport ResourceFiles ${Boost_LIBRARIES})
|
|
target_include_directories(MakeImport PRIVATE ${Boost_INCLUDE_DIR})
|
|
target_include_directories(MakeImport PRIVATE ${CMAKE_INSTALL_PREFIX}/include)
|
|
|
|
install(TARGETS MakePEF MakeImport RUNTIME DESTINATION bin)
|