Commit 4264240d authored by Hanspeter Portner's avatar Hanspeter Portner

fix c99 flags.

parent d9d8c534
......@@ -13,6 +13,6 @@ install:
- sudo apt-get install -y libefl-dev libelementary-dev cmake=2.8.12.2-3
- pushd lv2-1.12.0 && ./waf configure && ./waf build && sudo ./waf install && popd
before_script:
- mkdir build && pushd build && cmake -DCMAKE_C_FLAGS="-std=gnu99" -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=1 .. && popd
- mkdir build && pushd build && cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=1 .. && popd
script:
- pushd build && make && ARGS="-VV" make test && sudo make install && popd
......@@ -9,6 +9,8 @@ include_directories(${PROJECT_SOURCE_DIR}/osc.lv2)
include_directories(${PROJECT_SOURCE_DIR}/lua-5.3)
include_directories(${PROJECT_BINARY_DIR})
set(CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
set(DEST lib/lv2/moony.lv2)
if(WIN32)
set(LIB_EXT ".dll")
......
......@@ -43,7 +43,7 @@ Get more information at: [http://open-music-kontrollers.ch/lv2/moony](http://ope
cd moony.lv2
mkdir build
cd build
cmake -DCMAKE_C_FLAGS="-std=gnu11" -DCMAKE_BUILD_TYPE="Release" ..
cmake -DCMAKE_BUILD_TYPE="Release" ..
make
sudo make install
......@@ -51,7 +51,7 @@ If you want to run the unit test, do instead:
.
.
cmake -DCMAKE_C_FLAGS="-std=gnu11" -DCMAKE_BUILD_TYPE="Debug" -DBUILD_TESTING=1 ..
cmake -DCMAKE_BUILD_TYPE="Debug" -DBUILD_TESTING=1 ..
make
ARGS="-VV" make test
.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment