mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 04:22:37 +01:00
Merge pull request #50 from CreeperMario/master
Pong: Fix build issues with CMake
This commit is contained in:
commit
6fd39535e3
@ -23,6 +23,7 @@ cd wut
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=install ../
|
||||
make
|
||||
make install
|
||||
export WUT_ROOT=$PWD/install
|
||||
```
|
||||
|
||||
|
@ -3,8 +3,8 @@ project(pong)
|
||||
|
||||
include($ENV{WUT_ROOT}/cmake/wut-toolchain.cmake)
|
||||
|
||||
file(GLOB_RECURSE SOURCE_FILES *.c)
|
||||
file(GLOB_RECURSE HEADER_FILES *.h)
|
||||
file(GLOB_RECURSE SOURCE_FILES src/*.c)
|
||||
file(GLOB_RECURSE HEADER_FILES src/*.h)
|
||||
|
||||
add_rpx(pong ${SOURCE_FILES} ${HEADER_FILES})
|
||||
target_link_libraries(pong
|
||||
|
Loading…
Reference in New Issue
Block a user