When I try to build this project with cmake and gcc on a 64-bit linux (debian) machine, I get an error from the linker:
Linking C executable ../../../../cpsadams
As this question is showing up on google and both answers won't point to the correct solution here it is:
In your CMakeLists.txt add ${CMAKE_DL_LIBS} to link against idl. It should look similar to this:
${CMAKE_DL_LIBS}
target_link_libraries(ExpandableTest ${CMAKE_DL_LIBS} Expandable ExpandableTestLibrary )