File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,14 +71,6 @@ add_library(hhvm_base_headers INTERFACE)
7171hphp_link (hhvm_base_headers INTERFACE )
7272target_include_directories (hhvm_base_headers INTERFACE ${CMAKE_SOURCE_DIR } )
7373
74- # Only thing to do directly in tools is install this one script. Tools also has
75- # its own Makefile, so just do it here instead of dealing with moving that all
76- # around.
77- install (PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR } /tools/oss-repo-mode
78- RENAME hhvm-repo-mode
79- DESTINATION bin
80- COMPONENT dev)
81-
8274add_definitions ("-DUSE_CMAKE" )
8375
8476enable_language (ASM )
@@ -87,10 +79,6 @@ if (NOT PCRE_LIBRARY)
8779 link_libraries (pcre )
8880endif ()
8981
90- add_subdirectory (tools/hfsort )
91- add_subdirectory (tools/version )
92- add_subdirectory (tools/tc-print )
93-
9482add_subdirectory (compiler )
9583add_subdirectory (hack )
9684add_subdirectory (hhbbc )
@@ -117,7 +105,5 @@ if (TEST_BIN)
117105 add_subdirectory (test )
118106endif ()
119107
120- add_subdirectory (tools/gdb )
121-
122108# Keep this last
123- add_subdirectory (tools/hphpize )
109+ add_subdirectory (tools )
Original file line number Diff line number Diff line change 1+ install (PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR } /oss-repo-mode
2+ RENAME hhvm-repo-mode
3+ DESTINATION bin
4+ COMPONENT dev)
5+
6+ install (PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR } /hhvm_wrapper.php
7+ DESTINATION bin
8+ COMPONENT dev)
9+
10+ add_subdirectory (hfsort )
11+ add_subdirectory (version )
12+ add_subdirectory (tc-print )
13+ add_subdirectory (gdb )
14+ # Keep this last
15+ add_subdirectory (hphpize )
Original file line number Diff line number Diff line change @@ -33,3 +33,5 @@ link_object_libraries(tc-print ${HHVM_WHOLE_ARCHIVE_LIBRARIES})
3333target_link_libraries (tc-print ${HHVM_LINK_LIBRARIES} )
3434embed_all_systemlibs (tc-print "${CMAKE_CURRENT_BINARY_DIR } /../.."
3535 "${CMAKE_CURRENT_BINARY_DIR } /tc-print" )
36+
37+ install (TARGETS tc-print)
You can’t perform that action at this time.
0 commit comments