65 lines
1.7 KiB
Meson
65 lines
1.7 KiB
Meson
project(
|
|
'cs010b-work',
|
|
'cpp',
|
|
version: '0.1',
|
|
default_options: ['warning_level=3', 'cpp_std=c++11'],
|
|
)
|
|
|
|
c_1_lab_1 = executable('c_1_lab_1', 'src/chapter_1/c_1_lab_1.cpp', install: true)
|
|
c_1_ice_1 = executable('c_1_ice_1', 'src/chapter_1/c_1_ice_1.cpp', install: true)
|
|
|
|
c_2_lab_1 = executable('c_2_lab_1', 'src/chapter_2/lab_1/main.cpp', install: true)
|
|
c_2_lab_1_arg = executable(
|
|
'c_2_lab_1_arg',
|
|
'src/chapter_2/lab_1/main.cpp',
|
|
install: true,
|
|
cpp_args: ['-DCHECK_ARG'],
|
|
)
|
|
|
|
c_2_lab_2 = executable('c_2_lab_2', 'src/chapter_2/lab_2/main.cpp', install: true)
|
|
c_2_lab_3 = executable('c_2_lab_3', 'src/chapter_2/lab_3/main.cpp', install: true)
|
|
c_2_program_1 = executable('c_2_program_1', 'src/chapter_2/program_1/main.cpp', install: true)
|
|
|
|
c_3_lab_1 = executable('c_3_lab_1', 'src/chapter_3/lab_1/main.cpp', install: true)
|
|
c_3_program_1 = executable('c_3_program_1', 'src/chapter_3/program_1/main.cpp', install: true)
|
|
|
|
c_4_lab_4 = executable(
|
|
'c_4_lab_4',
|
|
['src/chapter_4/lab_4/main.cpp', 'src/chapter_4/lab_4/Distance.cpp'],
|
|
install: true,
|
|
)
|
|
|
|
c_4_program_3 = executable(
|
|
'c_4_program_3',
|
|
[
|
|
'src/chapter_4/program_3/main.cpp',
|
|
'src/chapter_4/program_3/Card.cpp',
|
|
'src/chapter_4/program_3/Deck.cpp',
|
|
],
|
|
install: true,
|
|
)
|
|
|
|
c_5_lab_5_1 = executable(
|
|
'c_5_lab_5-1',
|
|
['src/chapter_5/lab_5-1/main.cpp'],
|
|
install: true,
|
|
)
|
|
|
|
c_6_lab_6 = executable(
|
|
'c_6_lab-6',
|
|
[
|
|
'src/chapter_6/lab-6/main.cpp',
|
|
'src/chapter_6/lab-6/IntVector.h',
|
|
'src/chapter_6/lab-6/IntVector.cpp',
|
|
],
|
|
install: true,
|
|
)
|
|
c_6_program_4 = executable(
|
|
'c_6_program-4',
|
|
[
|
|
'src/chapter_6/program-4/main.cpp',
|
|
'src/chapter_6/program-4/IntVector.h',
|
|
'src/chapter_6/program-4/IntVector.cpp',
|
|
],
|
|
install: true,
|
|
)
|