diff --git a/tutorial/CMakeLists.txt b/tutorial/CMakeLists.txt index 0045d806..ecd09738 100644 --- a/tutorial/CMakeLists.txt +++ b/tutorial/CMakeLists.txt @@ -1,15 +1,15 @@ tde_conditional_add_subdirectory( BUILD_T1 t1 ) -#tde_conditional_add_subdirectory( BUILD_T2 t2 ) -#tde_conditional_add_subdirectory( BUILD_T3 t3 ) -#tde_conditional_add_subdirectory( BUILD_T4 t4 ) -#tde_conditional_add_subdirectory( BUILD_T5 t5 ) -#tde_conditional_add_subdirectory( BUILD_T6 t6 ) -#tde_conditional_add_subdirectory( BUILD_T7 t7 ) -#tde_conditional_add_subdirectory( BUILD_T8 t8 ) -#tde_conditional_add_subdirectory( BUILD_T9 t9 ) -#tde_conditional_add_subdirectory( BUILD_T10 t10 ) -#tde_conditional_add_subdirectory( BUILD_T11 t11 ) -#tde_conditional_add_subdirectory( BUILD_T12 t12 ) -#tde_conditional_add_subdirectory( BUILD_T13 t13 ) -#tde_conditional_add_subdirectory( BUILD_T14 t14 ) -#tde_conditional_add_subdirectory( BUILD_T15 t15 ) +tde_conditional_add_subdirectory( BUILD_T2 t2 ) +tde_conditional_add_subdirectory( BUILD_T3 t3 ) +tde_conditional_add_subdirectory( BUILD_T4 t4 ) +tde_conditional_add_subdirectory( BUILD_T5 t5 ) +tde_conditional_add_subdirectory( BUILD_T6 t6 ) +tde_conditional_add_subdirectory( BUILD_T7 t7 ) +tde_conditional_add_subdirectory( BUILD_T8 t8 ) +tde_conditional_add_subdirectory( BUILD_T9 t9 ) +tde_conditional_add_subdirectory( BUILD_T10 t10 ) +tde_conditional_add_subdirectory( BUILD_T11 t11 ) +tde_conditional_add_subdirectory( BUILD_T12 t12 ) +tde_conditional_add_subdirectory( BUILD_T13 t13 ) +tde_conditional_add_subdirectory( BUILD_T14 t14 ) +tde_conditional_add_subdirectory( BUILD_T15 t15 ) diff --git a/tutorial/t1/CMakeLists.txt b/tutorial/t1/CMakeLists.txt index 8eac6177..0f4e4aef 100644 --- a/tutorial/t1/CMakeLists.txt +++ b/tutorial/t1/CMakeLists.txt @@ -1,9 +1,4 @@ include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_SOURCE_DIR}/src/kernel - ${CMAKE_SOURCE_DIR}/src/tools ${CMAKE_BINARY_DIR}/include ) @@ -12,10 +7,12 @@ link_directories() ##### t1 (executable) -tde_add_executable( t1 AUTOMOC +tde_add_executable( t1 SOURCES main.cpp LINK tqt-mt-shared ) + +tqt_automoc( t1 ) diff --git a/tutorial/t10/CMakeLists.txt b/tutorial/t10/CMakeLists.txt new file mode 100644 index 00000000..82d7a0ff --- /dev/null +++ b/tutorial/t10/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t10 (executable) + +tde_add_executable( t10 + + SOURCES + main.cpp + cannon.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t10 ) diff --git a/tutorial/t11/CMakeLists.txt b/tutorial/t11/CMakeLists.txt new file mode 100644 index 00000000..a34a9362 --- /dev/null +++ b/tutorial/t11/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t11 (executable) + +tde_add_executable( t11 + + SOURCES + main.cpp + cannon.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t11 ) diff --git a/tutorial/t12/CMakeLists.txt b/tutorial/t12/CMakeLists.txt new file mode 100644 index 00000000..2fa7e9f1 --- /dev/null +++ b/tutorial/t12/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t12 (executable) + +tde_add_executable( t12 + + SOURCES + main.cpp + cannon.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t12 ) diff --git a/tutorial/t13/CMakeLists.txt b/tutorial/t13/CMakeLists.txt new file mode 100644 index 00000000..10bb1cdc --- /dev/null +++ b/tutorial/t13/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t13 (executable) + +tde_add_executable( t13 + + SOURCES + main.cpp + cannon.cpp + gamebrd.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t13 ) diff --git a/tutorial/t14/CMakeLists.txt b/tutorial/t14/CMakeLists.txt new file mode 100644 index 00000000..490a77bc --- /dev/null +++ b/tutorial/t14/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t14 (executable) + +tde_add_executable( t14 + + SOURCES + main.cpp + cannon.cpp + gamebrd.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t14 ) diff --git a/tutorial/t15/CMakeLists.txt b/tutorial/t15/CMakeLists.txt new file mode 100644 index 00000000..61ae47a6 --- /dev/null +++ b/tutorial/t15/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t15 (executable) + +tde_add_executable( t15 + + SOURCES + main.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t15 ) diff --git a/tutorial/t2/CMakeLists.txt b/tutorial/t2/CMakeLists.txt new file mode 100644 index 00000000..d574a8da --- /dev/null +++ b/tutorial/t2/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t2 (executable) + +tde_add_executable( t2 + + SOURCES + main.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t2 ) diff --git a/tutorial/t3/CMakeLists.txt b/tutorial/t3/CMakeLists.txt new file mode 100644 index 00000000..efcd8cb3 --- /dev/null +++ b/tutorial/t3/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t3 (executable) + +tde_add_executable( t3 + + SOURCES + main.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t3 ) diff --git a/tutorial/t4/CMakeLists.txt b/tutorial/t4/CMakeLists.txt new file mode 100644 index 00000000..f1f5367b --- /dev/null +++ b/tutorial/t4/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t4 (executable) + +tde_add_executable( t4 + + SOURCES + main.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t4 ) diff --git a/tutorial/t5/CMakeLists.txt b/tutorial/t5/CMakeLists.txt new file mode 100644 index 00000000..bfd9efde --- /dev/null +++ b/tutorial/t5/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t5 (executable) + +tde_add_executable( t5 + + SOURCES + main.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t5 ) diff --git a/tutorial/t6/CMakeLists.txt b/tutorial/t6/CMakeLists.txt new file mode 100644 index 00000000..41d68952 --- /dev/null +++ b/tutorial/t6/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t6 (executable) + +tde_add_executable( t6 + + SOURCES + main.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t6 ) diff --git a/tutorial/t7/CMakeLists.txt b/tutorial/t7/CMakeLists.txt new file mode 100644 index 00000000..7f44673b --- /dev/null +++ b/tutorial/t7/CMakeLists.txt @@ -0,0 +1,19 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t7 (executable) + +tde_add_executable( t7 + + SOURCES + main.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t7 ) diff --git a/tutorial/t8/CMakeLists.txt b/tutorial/t8/CMakeLists.txt new file mode 100644 index 00000000..bcc3a5e8 --- /dev/null +++ b/tutorial/t8/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t8 (executable) + +tde_add_executable( t8 + + SOURCES + main.cpp + cannon.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t8 ) diff --git a/tutorial/t9/CMakeLists.txt b/tutorial/t9/CMakeLists.txt new file mode 100644 index 00000000..d13fb27a --- /dev/null +++ b/tutorial/t9/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR}/include +) + +link_directories() + + +##### t9 (executable) + +tde_add_executable( t9 + + SOURCES + main.cpp + cannon.cpp + lcdrange.cpp + LINK + tqt-mt-shared +) + +tqt_automoc( t9 )