Changeset 20060 for trunk/FACT++
- Timestamp:
- 04/12/21 11:36:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r20045 r20060 180 180 FIND_PACKAGE(Readline REQUIRED) 181 181 FIND_PACKAGE(Panel REQUIRED) 182 FIND_PACKAGE(V8 REQUIRED)183 182 FIND_PACKAGE(CCfits REQUIRED) # First as Cfitsio is a dependency 184 183 FIND_PACKAGE(Cfitsio REQUIRED) 185 184 FIND_PACKAGE(OpenSSL REQUIRED) # Required for boost::asio::ssl 185 186 FIND_PACKAGE(V8) 187 IF (V8_INCLUDE_DIR AND V8_LIBRARY) 188 INCLUDE_DIRECTORIES(${V8_INCLUDE_DIR}) 189 ELSE() 190 MESSAGE(WARNING 191 " \n" 192 " libv8 not found!\n" 193 " dimctrl/dimserver disabled!") 194 ENDIF() 186 195 187 196 ENDIF(NOT TOOLS_ONLY) … … 247 256 thread) 248 257 249 IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND Boost_VERSION LESS 106000 AND NOT NO_BOOST_HACK)258 IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND Boost_VERSION VERSION_LESS 1.60 AND NOT NO_BOOST_HACK) 250 259 MESSAGE(STATUS "Setting BOOST_REGEX_NO_EXTERNAL_TEMPLATES") 251 260 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_REGEX_NO_EXTERNAL_TEMPLATES=1") … … 756 765 MANPAGE(zfits "") 757 766 767 ADD_EXECUTABLE(fixfits src/fixfits.cc) 768 TARGET_LINK_LIBRARIES(fixfits ${HELP++LIBS} ZLIB::ZLIB) 769 MANPAGE(fixfits "FACT++ - fixfits - Fix the header of a none closed raw-data file") 770 758 771 IF(NOT NO_ROOT) 759 772 ADD_EXECUTABLE(calcsource src/calcsource.cc) … … 848 861 MANPAGE(datalogger "") 849 862 850 ADD_EXECUTABLE(dimctrl src/dimctrl.cc 851 src/StateMachineDimControl.cc 852 src/RemoteControl.cc 853 src/InterpreterV8.cc 854 src/DimState.cc) 855 TARGET_LINK_LIBRARIES(dimctrl ${FACT++LIBS} Pointing ZLIB::ZLIB v8) 856 MANPAGE(dimctrl "") 857 858 ADD_CUSTOM_TARGET(dimserver ALL 859 COMMAND ln -sf dimctrl dimserver 860 COMMENT "Creating symlink for dimserver" 861 DEPENDS dimctrl) 863 IF (V8_INCLUDE_DIR AND V8_LIBRARY) 864 ADD_EXECUTABLE(dimctrl src/dimctrl.cc 865 src/StateMachineDimControl.cc 866 src/RemoteControl.cc 867 src/InterpreterV8.cc 868 src/DimState.cc) 869 TARGET_LINK_LIBRARIES(dimctrl ${FACT++LIBS} Pointing ZLIB::ZLIB v8) 870 MANPAGE(dimctrl "") 871 872 ADD_CUSTOM_TARGET(dimserver ALL 873 COMMAND ln -sf dimctrl dimserver 874 COMMENT "Creating symlink for dimserver" 875 DEPENDS dimctrl) 876 ENDIF() 862 877 863 878 ADD_EXECUTABLE(drivectrl src/drivectrl.cc) … … 888 903 MANPAGE(fscctrl "") 889 904 890 ADD_EXECUTABLE(ftmctrl src/ftmctrl.cc src/HeadersFTM.cc) 891 TARGET_LINK_LIBRARIES(ftmctrl ${FACT++LIBS}) 892 MANPAGE(ftmctrl "") 905 ADD_EXECUTABLE(miniftmctrl src/miniftmctrl.cc) 906 TARGET_LINK_LIBRARIES(miniftmctrl ${FACT++LIBS}) 907 MANPAGE(miniftmctrl "") 908 909 IF(NOT FOUND_FAMOUS) 910 ADD_EXECUTABLE(ftmctrl src/ftmctrl.cc src/HeadersFTM.cc) 911 TARGET_LINK_LIBRARIES(ftmctrl ${FACT++LIBS}) 912 MANPAGE(ftmctrl "") 913 ELSE() 914 ADD_CUSTOM_TARGET(ftmctrl ALL 915 COMMAND ln -sf miniftmctrl ftmctrl 916 COMMENT "Creating symlink for ftmctrl" 917 DEPENDS miniftmctrl) 918 ENDIF() 893 919 894 920 ADD_EXECUTABLE(gcn src/gcn.cc) … … 1086 1112 TARGET_LINK_LIBRARIES(ftuctrl ${FACT++LIBS}) 1087 1113 MANPAGE(ftuctrl "") 1088 1089 ADD_EXECUTABLE(miniftmctrl famous/src/miniftmctrl.cc)1090 TARGET_LINK_LIBRARIES(miniftmctrl ${FACT++LIBS})1091 MANPAGE(miniftmctrl "")1092 1114 1093 1115 ADD_EXECUTABLE(fpgaftmctrl famous/src/fpgaftmctrl.cc)
Note:
See TracChangeset
for help on using the changeset viewer.