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