-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
40 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
|
||
(executable | ||
(name prof1) | ||
(modes native) | ||
(flags :standard -warn-error -a+8) ;-linkall) | ||
(libraries tracy-client containers threads.posix)) | ||
(name prof1) | ||
(modes native) | ||
(flags :standard -warn-error -a+8) ;-linkall) | ||
(libraries tracy-client containers threads.posix)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
; compile client | ||
|
||
(foreign_library | ||
(archive_name tracyclient) | ||
(language cxx) | ||
(include_dirs ../tracy/public/tracy/ ../tracy/public) | ||
(flags -DTRACY_ENABLE=1 -fPIC -std=c++11 -O2) | ||
(names TracyClient)) | ||
(archive_name tracyclient) | ||
(language cxx) | ||
(include_dirs ../tracy/public/tracy/ ../tracy/public) | ||
(flags -DTRACY_ENABLE=1 -fPIC -std=c++11 -O2) | ||
(names TracyClient)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
|
||
(library | ||
(public_name tracy-client) | ||
(name tracy_client) | ||
(instrumentation.backend (ppx tracy-ppx)) | ||
(synopsis "Bindings to Tracy client library.") | ||
(libraries threads.posix) | ||
(flags :standard -warn-error -a+8 -linkall) | ||
(foreign_archives client/tracyclient) | ||
;(library_flags -cclib -ltracyclient -cclib -ltracy_stubs) | ||
; compile our stubs + the client | ||
(foreign_stubs | ||
(language cxx) (names tracy_stubs) | ||
(flags -Wall -fPIC -std=c++11 -O2) | ||
(include_dirs ./tracy)) | ||
;(c_names tracy_stubs tracyclient) | ||
(c_library_flags -lstdc++) ;-Lsrc/client -ltracyclient) | ||
;(no_dynlink) | ||
) | ||
(public_name tracy-client) | ||
(name tracy_client) | ||
(instrumentation.backend | ||
(ppx tracy-ppx)) | ||
(synopsis "Bindings to Tracy client library.") | ||
(libraries threads.posix) | ||
(flags :standard -warn-error -a+8 -linkall) | ||
(foreign_archives client/tracyclient) | ||
;(library_flags -cclib -ltracyclient -cclib -ltracy_stubs) | ||
; compile our stubs + the client | ||
(foreign_stubs | ||
(language cxx) | ||
(names tracy_stubs) | ||
(flags -Wall -fPIC -std=c++11 -O2) | ||
(include_dirs ./tracy)) | ||
;(c_names tracy_stubs tracyclient) | ||
(c_library_flags -lstdc++) ;-Lsrc/client -ltracyclient) | ||
;(no_dynlink) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
|
||
(library | ||
(name tracy_client_trace) | ||
(public_name tracy-client.trace) | ||
(synopsis "Trace interface for tracy-client") | ||
(libraries tracy-client trace)) | ||
(name tracy_client_trace) | ||
(public_name tracy-client.trace) | ||
(synopsis "Trace interface for tracy-client") | ||
(libraries tracy-client trace)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
(vendored_dirs tracy) |