commit 789eab7c7e2bfb69993711e6828a088f4be48371 parent 9b4d8ee92bc8ba0131cf79f2bfbee913c9a03a1b Author: Kyle Milz <kyle@0x30.net> Date: Tue, 10 Jan 2017 00:24:17 -0700 jam: add conditional platform building Diffstat:
M | Jamfile | | | 8 | +++++--- |
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Jamfile b/Jamfile @@ -5,10 +5,12 @@ include Jamrules.extra ; # # libcitrun # -if ! $(NT) { - ObjectCcFlags lib.c : -fPIC -ansi ; +if $(NT) { + Library libcitrun : lib.c lib_win32.c ; +} else { + ObjectCcFlags lib.c lib_unix.c : -fPIC -ansi ; + Library libcitrun : lib.c lib_unix.c ; } -Library libcitrun : lib.c ; # # citrun_wrap, citrun_check