From: Zack Boll <zackboll@gmail.com>
Subject: Question about C++ files with GPRBUILD
Date: Mon, 7 Mar 2016 21:02:05 -0800 (PST)
Date: 2016-03-07T21:02:05-08:00 [thread overview]
Message-ID: <2a8f2430-a60a-4f6f-be65-dc6c844cf091@googlegroups.com> (raw)
I have a directory with several C++ test driver. For a test, my project file only includes one of the test drivers.
for Languages use ("C++");
for Main use ("test_driver_1.cpp");
for Source_Dirs use (".");
when I go to compile the test driver from GPS, gprbuild tries to compile all C++ files in the directory. Does anyone have an idea on why it does that and how I can fix it to only compile the relevant C++ file?
gprbuild -v -d -P/test_scripts/test_scripts.gpr -XADA_DIALECT=Ada_2012 -XARCHITECTURE=x86_64_Linux -XBUILD_FLAGS=Optimize -XELABORATION_CHECKS=Static -XCOMPILER_MULTIPROCESS=8 -XDEBUG_TARGET=local test_driver_1.cpp -s -j8
Thanks,
Zack
next reply other threads:[~2016-03-08 5:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 5:02 Zack Boll [this message]
2016-03-08 7:08 ` Question about C++ files with GPRBUILD Egil H H
2016-03-08 8:35 ` briot.emmanuel
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox