Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev update to v1.0.2a #14

Merged
merged 64 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
8fd9015
macros prefixed
Jul 20, 2024
1b2c2ec
pre-rel 1.1.0a
Jul 23, 2024
25d8e6b
updated
Jul 23, 2024
430a02d
updated
Jul 23, 2024
873a7f9
updated
Jul 23, 2024
c64e8f3
updated
Jul 23, 2024
87349e1
updated
Jul 23, 2024
b139269
updated
Jul 23, 2024
afe0fb9
updated
Jul 23, 2024
cbbe98a
updated
Jul 23, 2024
d822692
updated
Jul 23, 2024
f73793d
updated
Jul 23, 2024
8a7675b
updated
Jul 23, 2024
bde2b8e
updated
Jul 28, 2024
f460e1a
updated
Jul 28, 2024
3912413
updated
Jul 28, 2024
be660ac
updated
Jul 29, 2024
2646472
updated
Jul 29, 2024
0f53b5d
updated
Jul 29, 2024
e9a1c78
updated
Jul 29, 2024
0c6ad0a
updated
Jul 29, 2024
aca9b1a
updated
Jul 29, 2024
2bcb5ab
updated
Jul 29, 2024
ffd8bad
updated
Jul 29, 2024
0459d39
updated
Jul 29, 2024
8cf6072
updated
Jul 29, 2024
ad53614
pre-rel 1.1a
Jul 29, 2024
ef2f7b3
updated
Jul 29, 2024
5f102c8
updated
Jul 29, 2024
0a1a9bf
updated
Jul 29, 2024
26ba329
updated
Jul 29, 2024
d538483
updated
Jul 29, 2024
06489cb
updated
Jul 29, 2024
341e63e
updated
Jul 29, 2024
9f0afb3
updated
Jul 29, 2024
599b869
updated
Jul 29, 2024
7e3c4de
updated
Jul 29, 2024
a24e743
updated
Jul 29, 2024
419bcfc
updated
Jul 29, 2024
ad1a6cf
updated
Jul 29, 2024
4afe001
updated
Jul 29, 2024
84c478c
updated
Jul 29, 2024
4fbcf85
updated
Jul 29, 2024
24695f1
updated
Jul 29, 2024
1bfa6a0
updated
Jul 29, 2024
d956bdf
updated
Jul 29, 2024
98c77d1
updated
Jul 29, 2024
7b2b103
updated
Jul 29, 2024
479355f
updated
Jul 29, 2024
0f18b8a
updated
Jul 29, 2024
df5b579
updated
Jul 29, 2024
70e2455
updated
Jul 29, 2024
8190ade
updated
Jul 29, 2024
0430cc8
updated
Jul 29, 2024
3a3135d
pre-rel 1.1b
Jul 29, 2024
92d7230
updated
Jul 30, 2024
f7154e6
updated
Jul 30, 2024
e2ccc95
updated
Jul 30, 2024
2b0b73f
updated
Jul 30, 2024
7ade890
updated
Jul 30, 2024
5fdb8b4
updated
Jul 30, 2024
e3e263b
updated
Jul 30, 2024
be171ef
updated
Jul 30, 2024
a95e625
updated
Jul 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ message("-- Build with all warnings : ${BUILD_ALL_WARNINGS}")
option(BUILD_UNITTESTS "enable building unit tests" true)
message("-- Build unit tests: ${BUILD_UNITTESTS}")

# to enable clang build profiler:
# cmake -DBUILD_CLANG_PROFILER=true ..
# see examples/cbenchmark.sh
option(BUILD_CLANG_PROFILER "enable clang build profiler" false)
message("-- Build clang profiler: ${BUILD_CLANG_PROFILER}")
if(BUILD_CLANG_PROFILER)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_compile_options(-ftime-trace)
else()
message(WARNING "BUILD_CLANG_PROFILER only available with Clang")
endif()
endif()

function(build loc x)
add_executable(${x} ${loc}/${x}.cpp)
if(NOT ${x} STREQUAL srcloctest)
Expand All @@ -66,7 +79,7 @@ function(build loc x)
message("-- adding ${x}.cpp CXX_STANDARD: C++${cppstd} (${CMAKE_CXX_COMPILER_ID})")
endfunction()

foreach(x srcloctest example statictest)
foreach(x srcloctest example statictest cbenchmark)
build(examples ${x})
if(BUILD_STRIP_EXE)
add_custom_command(TARGET ${x} POST_BUILD COMMAND ${CMAKE_STRIP} ${x})
Expand Down
Loading