Design cleanup
- unknown_unit added - examples refactored - base_type renamed to downcast_base_type - scaled_unit renamed to named_scaled_unit - detail::reference_unit renamed to scaled_unit - quantity_test cleanup
This commit is contained in:
1 parent
c48bfe2098
commit
f31b26b5e5
22 files changed
+354
-160
No files matched your search
+7
-11
@@ -20,15 +20,11 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
# example app
|
||||
add_executable(example example.cpp)
|
||||
target_link_libraries(example
|
||||
PRIVATE
|
||||
mp::units
|
||||
)
|
||||
function(add_example target)
|
||||
add_executable(${target} ${target}.cpp)
|
||||
target_link_libraries(${target} PRIVATE mp::units)
|
||||
endfunction()
|
||||
|
||||
add_executable(measurement measurement.cpp)
|
||||
target_link_libraries(measurement
|
||||
PRIVATE
|
||||
mp::units
|
||||
)
|
||||
add_example(avg_velocity)
|
||||
add_example(measurement)
|
||||
add_example(unknown_dimension)
|
||||
Reference in new issue
Block a user