Last change
on this file since 75 was 37, checked in by Bayard Gildas, 8 years ago |
Suppression dualshock3.xml (il est déjà dans flair-bin)
|
-
Property svn:executable
set to
*
|
File size:
835 bytes
|
Line | |
---|
1 | DIR=build_$(uname -m)
|
---|
2 |
|
---|
3 | ### IMPORTANT: We don't use standard cmake_codeblocks script since we don't compile in release mode due to optimization problem (-03) ###
|
---|
4 |
|
---|
5 | #verifie l'existence du lien symbolique build
|
---|
6 | if [ -d build ];then
|
---|
7 | if ! readlink build > /dev/null ; then
|
---|
8 | #it is a directory, exit to do not erase anything
|
---|
9 | err "Error: build already exsits and is a directory; it should be a symlink."
|
---|
10 | exit 1
|
---|
11 | fi
|
---|
12 | if ! readlink build | grep -w $DIR >/dev/null; then
|
---|
13 | echo "Warning, build was pointing to another directory."
|
---|
14 | fi
|
---|
15 | rm build
|
---|
16 | fi
|
---|
17 |
|
---|
18 | #creation du repertoire
|
---|
19 | mkdir -p $DIR
|
---|
20 | #creation du lien symbolique
|
---|
21 | ln -s $DIR build
|
---|
22 |
|
---|
23 | #creation project x86
|
---|
24 | cd build
|
---|
25 |
|
---|
26 | rm -f CMakeCache.txt
|
---|
27 | rm -rf CMakeFiles
|
---|
28 | ${OECORE_HOST_NATIVE_SYSROOT}/usr/bin/cmake ../ -G "CodeBlocks - Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_HOST_TOOLCHAIN}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.