Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Apr 2, 2024
1 parent 006d3d8 commit 4901390
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions cmake/dart_defs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ function(dart_generate_export_header)
${_ARG_TARGET_NAME}
EXPORT_MACRO_NAME DETAIL_${base_name}_API
EXPORT_FILE_NAME ${export_detail_file_path}
DEPRECATED_MACRO_NAME _DART_DEPRECATED
)

# Generate final export header
Expand Down
2 changes: 1 addition & 1 deletion dart/external/odelcpsolver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ file(GLOB srcs "*.cpp")
set(target_name ${PROJECT_NAME}-external-odelcpsolver)
set(component_name external-odelcpsolver)

dart_add_library(${target_name} ${hdrs} ${srcs})
dart_add_library(${target_name} STATIC ${hdrs} ${srcs})
target_include_directories(${target_name}
PUBLIC
$<BUILD_INTERFACE:${DART_SOURCE_DIR}>
Expand Down
4 changes: 3 additions & 1 deletion dart/optimizer/Function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#ifndef DART_OPTIMIZER_FUNCTION_HPP_
#define DART_OPTIMIZER_FUNCTION_HPP_

#include <dart/Export.hpp>

#include <Eigen/Dense>

#include <functional>
Expand All @@ -42,7 +44,7 @@
namespace dart {
namespace optimizer {

class Function
class DART_API Function
{
public:
/// Constructor
Expand Down
4 changes: 3 additions & 1 deletion dart/optimizer/Problem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

#include <dart/optimizer/Function.hpp>

#include <dart/Export.hpp>

#include <Eigen/Dense>

#include <vector>
Expand All @@ -45,7 +47,7 @@ namespace dart {
namespace optimizer {

/// \brief class Problem
class Problem
class DART_API Problem
{
public:
/// \brief Constructor
Expand Down
4 changes: 3 additions & 1 deletion dart/optimizer/Solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#ifndef DART_OPTIMIZER_SOLVER_HPP_
#define DART_OPTIMIZER_SOLVER_HPP_

#include <dart/Export.hpp>

#include <Eigen/Dense>

#include <iostream>
Expand All @@ -49,7 +51,7 @@ class Problem;
/// problem types. This base class allows the different Solver implementations
/// to be swapped out with each other quickly and easily to help with testing,
/// benchmarking, and experimentation.
class Solver
class DART_API Solver
{
public:
/// The Solver::Properties class contains Solver parameters that are common
Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ install-local = { cmd = "cmake --install build --prefix $CONDA_PREFIX", depends_
] }

configure-unix = { cmd = "cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=Release -DDART_VERBOSE=ON -DDART_USE_SYSTEM_IMGUI=ON" }
configure-win = { cmd = "cmake -S . -B build -G 'Visual Studio 17 2022' -DDART_VERBOSE=ON -DDART_MSVC_DEFAULT_OPTIONS=ON -DBUILD_SHARED_LIBS=OFF -DDART_USE_SYSTEM_IMGUI=OFF" }
configure-win = { cmd = "cmake -S . -B build -G 'Visual Studio 17 2022' -DDART_VERBOSE=ON -DDART_MSVC_DEFAULT_OPTIONS=ON -DBUILD_SHARED_LIBS=ON -DDART_USE_SYSTEM_IMGUI=OFF" }

example-hello-world = { cmd = "cmake --build build --target hello_world --parallel && ./build/bin/hello_world", depends_on = [
"configure",
Expand Down

0 comments on commit 4901390

Please sign in to comment.