2015-08-30 09:57:07 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "--std=c++11 -Wall -Werror=return-type -Wno-multichar")
|
|
|
|
|
2015-09-09 18:51:36 +00:00
|
|
|
find_package(Boost COMPONENTS filesystem system REQUIRED)
|
|
|
|
|
2015-09-08 17:42:32 +00:00
|
|
|
add_executable(MakePEF MakePEF.cc rs6000.h PEF.h)
|
2017-04-23 00:15:02 +00:00
|
|
|
target_include_directories(MakePEF PRIVATE ${CMAKE_INSTALL_PREFIX}/include)
|
2015-08-30 14:07:49 +00:00
|
|
|
|
|
|
|
add_executable(MakeImport MakeImport.cc PEF.h)
|
2015-09-09 18:51:36 +00:00
|
|
|
target_link_libraries(MakeImport ResourceFiles ${Boost_LIBRARIES})
|
2017-04-12 23:17:58 +00:00
|
|
|
target_include_directories(MakeImport PRIVATE ${Boost_INCLUDE_DIR})
|
2017-04-23 00:15:02 +00:00
|
|
|
target_include_directories(MakeImport PRIVATE ${CMAKE_INSTALL_PREFIX}/include)
|
2015-08-30 13:27:06 +00:00
|
|
|
|
2015-08-30 23:16:54 +00:00
|
|
|
install(TARGETS MakePEF MakeImport RUNTIME DESTINATION bin)
|