Cabal v misses changes to cxx-files: files?

Using Cabal v3.2.0.0 and with the following stanza in my *.cabal file: executable ex9 import: shared-properties main-is: src/ex/ex9.hs cxx-sources: src/ex/ex9.cpp {snip} if I edit the file: `src/ex/ex9.cpp`, and then execute: `cabal build`, I'm told: $ cabal build Up to date Is this a known issue? Is there a workaround? Thanks, -db

HI David,
It wouldn't hurt to try a newer cabal. I know a similar problem with
`extra-source-files` has been fixed recently.
If it still doesn't work in cabal 3.4, please search the issues and
file one or add a suitable emoji to an existing one.
Cheers,
Mikolaj
On Thu, Jun 24, 2021 at 2:30 PM David Banas
Using Cabal v3.2.0.0 and with the following stanza in my *.cabal file:
executable ex9 import: shared-properties main-is: src/ex/ex9.hs cxx-sources: src/ex/ex9.cpp {snip}
if I edit the file: `src/ex/ex9.cpp`, and then execute: `cabal build`, I'm told:
$ cabal build Up to date
Is this a known issue? Is there a workaround?
Thanks, -db
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

Word of warning: The support for C++ in both cabal and GHC is currently at a level were it cannot be sanely used. You can use it in the "mad cackling, slowly losing your mind too Lovecraftian horrors"-way, but if you care about things like "actually using the right C++ compiler" or "using the same C++ stdlib your other code was built with", you are as the professionals put it SOL. - Merijn
On 24 Jun 2021, at 14:47, Mikolaj Konarski
wrote: HI David,
It wouldn't hurt to try a newer cabal. I know a similar problem with `extra-source-files` has been fixed recently.
If it still doesn't work in cabal 3.4, please search the issues and file one or add a suitable emoji to an existing one.
Cheers, Mikolaj
On Thu, Jun 24, 2021 at 2:30 PM David Banas
wrote: Using Cabal v3.2.0.0 and with the following stanza in my *.cabal file:
executable ex9 import: shared-properties main-is: src/ex/ex9.hs cxx-sources: src/ex/ex9.cpp {snip}
if I edit the file: `src/ex/ex9.cpp`, and then execute: `cabal build`, I'm told:
$ cabal build Up to date
Is this a known issue? Is there a workaround?
Thanks, -db
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (3)
-
David Banas
-
Merijn Verstraaten
-
Mikolaj Konarski