Extension moved into cmake, extensions rebuilt.

This commit is contained in:
jaynus 2015-04-09 09:52:57 -07:00
parent 6626379a25
commit 2261225ad3
6 changed files with 14 additions and 1 deletions

Binary file not shown.

BIN
ace_advanced_ballistics.dll Normal file

Binary file not shown.

Binary file not shown.

View File

@ -27,5 +27,6 @@ include_directories(AFTER "common")
# Add extensions to build here
add_subdirectory(fcs)
add_subdirectory(advanced_ballistics)
message("Build Type: ${CMAKE_BUILD_TYPE}")

View File

@ -1,4 +1,5 @@
#include "stdafx.h"
#include "ace_common.h"
#include <time.h>
#include <string>
#include <vector>

View File

@ -0,0 +1,11 @@
set(ACE_EXTENSION_NAME "ace_advanced_ballistics")
file(GLOB SOURCES *.h *.hpp *.c *.cpp)
add_library( ${ACE_EXTENSION_NAME} SHARED ${SOURCES})
add_dependencies(${ACE_EXTENSION_NAME} ace_common)
SET_TARGET_PROPERTIES(${ACE_EXTENSION_NAME} PROPERTIES PREFIX "")
if(CMAKE_COMPILER_IS_GNUCXX)
set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_START_STATIC 1)
set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_END_STATIC 1)
endif()