Skip to content

Commit

Permalink
edit enu-applesedemo
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenthefox committed May 16, 2018
1 parent 2dc0b03 commit 4c8e9b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ programs/js_operation_serializer/js_operation_serializer
programs/data-dir
programs/enugenabi/enugenabi
programs/enucli/config.hpp
programs/enu-applesedemo/enu-applesedemo
programs/enuapplesedemo/enuapplesedemo
programs/enulauncher/config.hpp
programs/enulauncher/enulauncher
programs/enuwallet/enuwallet
Expand Down
2 changes: 1 addition & 1 deletion programs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ add_subdirectory( enunode )
add_subdirectory( enucli )
add_subdirectory( enuwallet )
add_subdirectory( enulauncher )
add_subdirectory( enu-applesedemo )
add_subdirectory( enuapplesedemo )
add_subdirectory( enugenabi )
12 changes: 6 additions & 6 deletions programs/enuapplesedemo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
if(APPLE)
add_executable( enu-applesedemo main.cpp r1_signature_compactor.cpp )
add_executable( enuapplesedemo main.cpp r1_signature_compactor.cpp )


target_link_libraries( enu-applesedemo
target_link_libraries( enuapplesedemo
PRIVATE fc ${PLATFORM_SPECIFIC_LIBS}
)

set_target_properties(enu-applesedemo PROPERTIES LINK_FLAGS "-framework security -framework corefoundation")
set_target_properties(enuapplesedemo PROPERTIES LINK_FLAGS "-framework security -framework corefoundation")

#Demostration of signing automatically during build; you will need to change parameters for your signing credentials
#[[
add_custom_command(TARGET enu-applesedemo POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sign.sh C5139C2C4D7FA071EFBFD86CE44B652631C9376A 5A4683969Z.one.block.enu-applesedemo /Users/spoon/Library/MobileDevice/Provisioning\ Profiles/95813ad5-e880-432f-85c6-ade3b3298392.provisionprofile
add_custom_command(TARGET enuapplesedemo POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sign.sh C5139C2C4D7FA071EFBFD86CE44B652631C9376A 5A4683969Z.one.block.enuapplesedemo /Users/spoon/Library/MobileDevice/Provisioning\ Profiles/95813ad5-e880-432f-85c6-ade3b3298392.provisionprofile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
VERBATIM
)
]]

install( TARGETS
enu-applesedemo
enuapplesedemo

RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
Expand Down

0 comments on commit 4c8e9b5

Please sign in to comment.