Closed tinyleolin closed 6 years ago
Just comment out the following lines in liquidfun/Box2D/CMakeLists.txt
and it works for the present. (Though it's of cause not perfect...)
line 164-170
# foreach(target ${ALL_TARGETS})
# set_target_properties(
# ${target} PROPERTIES
# ARCHIVE_OUTPUT_DIRECTORY "${LIB_OUTPUT_DIR}"
# LIBRARY_OUTPUT_DIRECTORY "${LIB_OUTPUT_DIR}"
# RUNTIME_OUTPUT_DIRECTORY "${EXE_OUTPUT_DIR}")
# endforeach(target)
line 74
# set(C_FLAGS_WARNINGS "/W4 /WX")
Build Command
cd liquidfun/Box2D
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" ..
Just clone this repository.
cmake --version
Build Command
CMake Output
It seems that some libraries are imported/interface, thus
ARCHIVE_OUTPUT_DIRECTORY
,LIBRARY_OUTPUT_DIRECTORY
andRUNTIME_OUTPUT_DIRECTORY
are not allowed. Any advice would be apreciated.