Comments (4)
Hi @ibaned - happy to try to find a way to help with your build workflow.
Adding a simple CMakelists.txt file that includes the main one makes cmake unhappy:
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
It also changes the full project root, which breaks some of the root relative path used across the build system.
Any other ideas of what we can try?
from conduit.
Ah, that's unfortunate... Even if you went through the refactoring to put those commands there and change the paths it would likely break current users who find the top-level CMakeLists.txt
file in src
... I suppose this is something that would be compatibility breaking so it's up to you if you want to go through the trouble. We can keep working around it, but at least if you start future projects it would be great to follow the convention of a root directory CMake file. Thanks for trying!
from conduit.
Yes, sorry this is a pain for your team. This is a pattern we have used in a few project to clearly partition the compiled code from other revision controlled aspects of a project. If you see it pop up else where, you can shake your fist in my general direction :-)
from conduit.
@cyrush you'll get your comeuppance 👊
from conduit.
Related Issues (20)
- Initializing node from DataType does not set array length.
- Generic matset converter
- conduit::blueprint::mesh::topology::unstructured::verify passes on polygonal mesh with no sizes.
- Add VTK File outputs for Blueprint HOT 1
- The simple multi-buffer material set example in the docs is ambiguous
- building docs are missing details about a few cmake params HOT 1
- Use O2M index for matset converters
- O2M and ND Relation Map Interface for Python
- add species I/O support for Silo meshes HOT 1
- Refactor Generate Sides code to take advantage of `data_accessor` set
- Strided structure topo crashes topology::length function. HOT 1
- Add Gyre as example dataset
- python cmake logic needs to be udpated b/c distutils will fully disappear HOT 1
- generate_sides needs w/ fields output needs to be robust to no fields input
- Merging a partitioned ascent blueprint extract to single partition HOT 4
- is conduit robust to drive letters like `E:/blah` on windows?
- Tests should blow away old result files to avoid errors
- distutils is removed in Python 3.12 HOT 3
- `generate_sides` for matsets
- Mesh blueprint element windings polyhedral topologies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conduit.