facebook/hiphop-php — Issue #486: building lightprocess binary
Author: nareshv
Created: 2012-02-04 13:47:22+00:00
State: open

I have tried to build lightprocess util which is in the **src/util/** directory by doing the following things

[naresh@node5 src]$ tail CMakeLists.txt

add_subdirectory(compiler)

add_subdirectory(hphp)

add_subdirectory(tools)

**add_subdirectory(util)**

**add_subdirectory(test)**

I am not sure if thats the right way to do it.

I see that the light_server objects are building and is linked with the **test** binary (even without above changes).

[naresh@node5 hiphop-php.testing]$ find ./ -name \*light\*
./src/CMakeFiles/hphp_runtime_static.dir/util/light_process.cpp.o
./src/CMakeFiles/hphp_runtime_static.dir/util/light_process.cpp.i
./src/util/light_process.h
./src/util/light_process.cpp
./phpt/tests/php-5.2.5/ext/standard/tests/strings/highlight_file.phpt
./phpt/tests/php-5.2.5/ext/standard/tests/general_functions/highlight_heredoc.phpt

Can someone provide some guidelines on how to get the lightprocess (light_process) binary built ?