Skip to content

Commit 97b0d97

Browse files
committed
Fixes empty example
Uses of visual studio were getting a 'unresolved external symbol _mainCRTStartup' because there was no main() being linked into the test_embed.exe. I'm not a bjam expert, but I think that is because the embedding target is an executable (instead of an obj/lib?). I also have no idea if this was a problem on unix or if this fix will affect that platform.
1 parent ea87bfe commit 97b0d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/quickstart/Jamroot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import testing ;
3131
testing.make-test run-pyd : extending test_extending.py : : test_ext ;
3232

3333
# Declare a test of the embedding application
34-
testing.run embedding
34+
testing.run embedding embedding.cpp
3535
: # any ordinary arguments
3636
: script.py # any arguments that should be treated as relative paths
3737
: # requirements

0 commit comments

Comments
 (0)