CPSC 102 Build Tools Z A IN R IZ V I What Are Build Tools? - - PowerPoint PPT Presentation

cpsc 102 build tools
SMART_READER_LITE
LIVE PREVIEW

CPSC 102 Build Tools Z A IN R IZ V I What Are Build Tools? - - PowerPoint PPT Presentation

CPSC 102 Build Tools Z A IN R IZ V I What Are Build Tools? Automate the compiling of executable applications from source code. Why is this important? Compilation Order Computer Scientists are lazy 1 2 3 4 Specify the order in


slide-1
SLIDE 1

Z A IN R IZ V I

CPSC 102 Build Tools

slide-2
SLIDE 2

What Are Build Tools?

Automate the compiling of executable

applications from source code.

Why is this important?

slide-3
SLIDE 3

Compilation Order

1 2 3 4 Specify the order in which the modules are compiled, so you don’t have to compile all of them manually (and in the correct order). Computer Scientists are lazy

slide-4
SLIDE 4

Dependencies

Your Program Other Libraries (Dependencies) Automatically

  • btain dependencies

from the correct sources. Really helpful when you have several dependencies.

slide-5
SLIDE 5

Automating Tests

Test 1 Test 2 Test n

ig projects include tests to ensure that the system runs as expected. Sometimes

  • u run all of the tests, and sometimes you run only a few specifjc tests. Instead of

riting a driver program for running tests, you can have the build tool run the tes

  • u want, just by specifying the names.

Computer Scientists are lazy

slide-6
SLIDE 6

Make Build Automation Tool

Included in Unix Generic Build Tool (not specifjc to any 1

language)

Reads fjles called “Makefjle” Syntax: RULENAME: PREQUISITES

<tab> COMMAND

Computer Scientists are lazy

slide-7
SLIDE 7

Apache - Maven

https://maven.apache.org/ Project management and comprehension tool Manage project, reporting, and

documentation.

Uses specifjc fjle structure and a fjle called

pom.xml

slide-8
SLIDE 8

Working with Build Tools

Take a 10 minute break We’ll meet back in the lab Log onto D2L, and start on the assignments

for this module.