| 1234567891011121314151617181920212223 |
- # Target
- if(WIN32)
- add_executable(Physics WIN32 "Main.cpp")
- else()
- add_executable(Physics "Main.cpp")
- endif()
-
- # Working directory
- set_target_properties(Physics PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(OutDir)")
-
- # Libraries
- ## Local libs
- target_link_libraries(Physics Common)
- # Plugin dependencies
- add_engine_dependencies(Physics)
- add_dependencies(Physics bsfFBXImporter bsfFontImporter bsfFreeImgImporter)
- # IDE specific
- set_property(TARGET Physics PROPERTY FOLDER Examples)
- # Precompiled header & Unity build
- conditional_cotire(Physics)
|