diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-04-04 09:36:15 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-04-04 09:36:15 +0000 |
commit | f017bfbcbd6a6af80e7d2ce7303572e80a42196f (patch) | |
tree | b5bb6bcfd38674eb5e328dd2de5c18e4ebb0ff13 /CMakeLists.txt | |
parent | b964925cbc2b24a3cd8c1d92e32d94b8520fd3b1 (diff) | |
download | opt-utilities-f017bfbcbd6a6af80e7d2ce7303572e80a42196f.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@112 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cf0100a..c5909e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,12 +1,23 @@ cmake_minimum_required(VERSION 2.6) PROJECT(opt_utilities,CXX) +SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) + +set(CMAKE_VERBOSE_MAKEFILE true) + +find_package(ltdl REQUIRED) add_subdirectory(example) add_subdirectory(interface) +add_subdirectory(dynamical_fit) -include_directories (${PROJECT_SOURCE_DIR}) +include_directories (${PROJECT_SOURCE_DIR} ${LTDL_INCLUDE_DIRS}) +message(${LTDL_LIBRARIES}) set(LIBRARY_OUTPUT_PATH,lib) ADD_LIBRARY(opt STATIC interface/opt.cc) ADD_EXECUTABLE(test_fitter example/test_fitter.cpp) ADD_EXECUTABLE(test_optimizer example/test_optimizer.cpp) +ADD_EXECUTABLE(dynamical_fit.out dynamical_fit/dynamical_fit.cpp) + +target_link_libraries(dynamical_fit.out ${LTDL_LIBRARIES}) + |