Added install target to cmake.
This commit is contained in:
parent
9a30cce921
commit
70a77cbe41
|
@ -87,10 +87,11 @@ echo "Num CPU: `nproc`";
|
||||||
mkdir build; cd build;
|
mkdir build; cd build;
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
|
||||||
..
|
..
|
||||||
make -j `nproc`
|
make -j `nproc`
|
||||||
#DESTDIR=$INSTALL_PREFIX make -j `nproc` install
|
make install
|
||||||
|
|
||||||
# Debug via ssh if necessary
|
# Debug via ssh if necessary
|
||||||
if [ ! -z $APPVEYOR_SSH_BLOCK ]; then
|
if [ ! -z $APPVEYOR_SSH_BLOCK ]; then
|
||||||
|
|
|
@ -352,3 +352,6 @@ target_link_libraries( fceux
|
||||||
${LUA_LDFLAGS}
|
${LUA_LDFLAGS}
|
||||||
${SYS_LIBS}
|
${SYS_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install( TARGETS fceux
|
||||||
|
RUNTIME bin )
|
||||||
|
|
Loading…
Reference in New Issue