Let's connect
Let's connect

Bazel vs. CMake: Discover the advantages of Bazel migration

Picture of Krzysztof Romanowski, Head of Scala & Dev Tooling

Krzysztof Romanowski

Head of Scala & Dev Tooling

10 minutes read

plaintext

# CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(MyProject)

# Find Boost package
find_package(Boost REQUIRED COMPONENTS filesystem)

# Add source files
set(SOURCES
    main.cpp
)

# Define executable target
add_executable(MyExecutable ${SOURCES})

# Link the Boost filesystem library to the executable
target_link_libraries(MyExecutable PRIVATE Boost::filesystem)

python

# BUILD file
cc_binary(
    name = "my_executable",
    srcs = ["main.cpp"],
    deps = [“@boost//:filesystem”],
)

Curated by

Sebastian Synowiec

Take the first step to a sustained competitive edge for your business

Let's connect

VirtusLab's work has met the mark several times over, and their latest project is no exception. The team is efficient, hard-working, and trustworthy. Customers can expect a proactive team that drives results.

Stephen Rooke
Stephen RookeDirector of Software Development @ Extreme Reach

VirtusLab's engineers are truly Strapi extensions experts. Their knowledge and expertise in the area of Strapi plugins gave us the opportunity to lift our multi-brand CMS implementation to a different level.

facile logo
Leonardo PoddaEngineering Manager @ Facile.it

VirtusLab has been an incredible partner since the early development of Scala 3, essential to a mature and stable Scala 3 ecosystem.

Martin_Odersky
Martin OderskyHead of Programming Research Group @ EPFL

The VirtusLab team's in-depth knowledge, understanding, and experience of technology have been invaluable to us in developing our product. The team is professional and delivers on time – we greatly appreciated this efficiency when working with them.

Michael_Grant
Michael GrantDirector of Development @ Cyber Sec Company