added some new scripts to specialize building and a build script for visual studio 2008

This commit is contained in:
Caner Candan 2010-11-18 10:49:24 +01:00
commit 52b5274094
4 changed files with 29 additions and 6 deletions

7
eo/build_gcc_linux_tutorial Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
mkdir release
cd release
cmake -DENABLE_EO_TUTORIAL=1 ..
make
cd ..

7
eo/build_gcc_linux_unittest Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
mkdir debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_CMAKE_TESTING=1 ..
make
cd ..

View file

@ -0,0 +1,5 @@
mkdir release
cd release
cmake -G "Visual Studio 9 2008" ..
cd ..
pause

View file

@ -2,11 +2,15 @@
### 1) Where must cmake go now ?
######################################################################################
ADD_SUBDIRECTORY(Lesson1)
ADD_SUBDIRECTORY(Lesson2)
ADD_SUBDIRECTORY(Lesson3)
ADD_SUBDIRECTORY(Lesson4)
ADD_SUBDIRECTORY(Lesson5)
ADD_SUBDIRECTORY(Lesson6)
IF(ENABLE_EO_TUTORIAL)
ADD_SUBDIRECTORY(Lesson1)
ADD_SUBDIRECTORY(Lesson2)
ADD_SUBDIRECTORY(Lesson3)
ADD_SUBDIRECTORY(Lesson4)
ADD_SUBDIRECTORY(Lesson5)
ADD_SUBDIRECTORY(Lesson6)
ENDIF()
######################################################################################